Discord · Schema

ExecuteWebhookRequest

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
content string
username string
avatar_url string
tts boolean
embeds array
allowed_mentions object
components array
flags integer
thread_name string
View JSON Schema on GitHub

JSON Schema

discord-executewebhookrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ExecuteWebhookRequest",
  "title": "ExecuteWebhookRequest",
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "maxLength": 2000
    },
    "username": {
      "type": "string"
    },
    "avatar_url": {
      "type": "string",
      "format": "uri"
    },
    "tts": {
      "type": "boolean"
    },
    "embeds": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Embed"
      },
      "maxItems": 10
    },
    "allowed_mentions": {
      "type": "object",
      "properties": {
        "parse": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "users": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "components": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Component"
      }
    },
    "flags": {
      "type": "integer"
    },
    "thread_name": {
      "type": "string"
    }
  }
}