WebhookEditMessageOptions
typedef · Source
Options that can be passed into editMessage. Type: Object
Properties
embeds
optional
embeds: Array<MessageEmbed> | Array<APIEmbed>
See WebhookMessageOptions#embeds
content
optional
content: string
See BaseMessageOptions#content
files
optional
files: Array<FileOptions> | Array<BufferResolvable> | Array<MessageAttachment>
allowedMentions
optional
allowedMentions: MessageMentionOptions
See BaseMessageOptions#allowedMentions
attachments
optional
attachments: Array<MessageAttachment>
Attachments to send with the message
components
optional
components: Array<MessageActionRow> | Array<MessageActionRowOptions>
Action rows containing interactive components for the message (buttons, select menus)
threadId
optional
threadId: Snowflake
The id of the thread this message belongs to For interaction webhooks, this property is ignored
withComponents
optional
withComponents: boolean
Whether to allow sending non-interactive components in the message. For application-owned webhooks, this property is ignored