Discord · Schema

MessageEditRequestPartial

ChatCommunicationGamingMessagingSocialVideoVoice

Properties

Name Type Description
content stringnull
embeds arraynull
flags integernull
allowed_mentions object
sticker_ids arraynull
components arraynull
attachments arraynull
View JSON Schema on GitHub

JSON Schema

discord-messageeditrequestpartial-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MessageEditRequestPartial",
  "title": "MessageEditRequestPartial",
  "type": "object",
  "properties": {
    "content": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 4000
    },
    "embeds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/RichEmbed"
      },
      "maxItems": 10
    },
    "flags": {
      "type": [
        "integer",
        "null"
      ]
    },
    "allowed_mentions": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/components/schemas/MessageAllowedMentionsRequest"
        }
      ]
    },
    "sticker_ids": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/SnowflakeType"
      },
      "maxItems": 1521
    },
    "components": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/ActionRow"
      },
      "maxItems": 5
    },
    "attachments": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/MessageAttachmentRequest"
      },
      "maxItems": 10
    }
  }
}