Interface POSTChannelMessageBody


  • POSTChannelMessageBody


content?: string

The content of the message (min length 1; max length 4000)

embeds?: APIEmbedOptions[]

At this time, only one embed is supported per message, and attachments are not supported. If you need to send more than one embed or upload attachments, consider creating the message via a webhook. (min items 1; max items 1

isPrivate?: boolean

If set, this message will only be seen by those mentioned or replied to

isSilent?: boolean

If set, this message will not notify any mentioned users or roles (default false)

replyMessageIds?: string[]

Message IDs to reply to (min items 1; max items 5)