RESTPatchAPIWebhookWithTokenMessageJSONBody
https://docs.discord.com/developers/resources/webhook#edit-webhook-message
Signature
export type RESTPatchAPIWebhookWithTokenMessageJSONBody = AddUndefinedToPossiblyUndefinedPropertiesOfInterface<Nullable<Pick<RESTPostAPIWebhookWithTokenJSONBody, 'allowed_mentions' | 'components' | 'content' | 'embeds' | 'poll'>>> & { attachments?: RESTAPIAttachment[] | undefined;};Properties
6Methods
0No methods.
Properties
content?: string | undefined;The message contents (up to 2000 characters)
embeds?: APIEmbed[] | undefined;Embedded `rich` content See https://docs.discord.com/developers/resources/channel#embed-object
components?: APITopLevelComponent[] | undefined;The components to include with the message Requires an application-owned webhook See https://docs.discord.com/developers/interactions/message-components#component-object
poll?: RESTAPIPollCreate | undefined;A poll!
allowed_mentions?: APIAllowedMentions | undefined;Allowed mentions for the message See https://docs.discord.com/developers/resources/channel#allowed-mentions-object
attachments?: RESTAPIAttachment[] | undefined;Attached files to keep Starting with API v10, the `attachments` array must contain all attachments that should be present after edit, including **retained and new** attachments provided in the request body. See https://docs.discord.com/developers/resources/message#attachment-object