Discord · Schema

EditMessageRequest

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
content string
embeds array
components array
View JSON Schema on GitHub

JSON Schema

discord-editmessagerequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EditMessageRequest",
  "title": "EditMessageRequest",
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "nullable": true,
      "maxLength": 2000
    },
    "embeds": {
      "type": "array",
      "nullable": true,
      "items": {
        "$ref": "#/components/schemas/Embed"
      },
      "maxItems": 10
    },
    "components": {
      "type": "array",
      "nullable": true,
      "items": {
        "type": "object"
      }
    }
  }
}