Skip to content

EditMessageWebhook

Signature

export type EditMessageWebhook = Omit<MessageWebhookMethodEditParams, 'messageId'>['body'] & Pick<MessageWebhookMethodEditParams, 'query'>;

Properties

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

allowed_mentions?: APIAllowedMentions | undefined;

Allowed mentions for the message See https://docs.discord.com/developers/resources/channel#allowed-mentions-object

content?: string | undefined | null;