Discord · Schema

SlackWebhook

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
text stringnull
username stringnull
icon_url stringnull
attachments arraynull
View JSON Schema on GitHub

JSON Schema

discord-slackwebhook-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SlackWebhook",
  "title": "SlackWebhook",
  "type": "object",
  "properties": {
    "text": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2000
    },
    "username": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 152133
    },
    "icon_url": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2048,
      "format": "uri"
    },
    "attachments": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/WebhookSlackEmbed"
      },
      "maxItems": 1521
    }
  }
}