EditMessageWebhook
Signature
export type EditMessageWebhook = Omit<MessageWebhookMethodEditParams, 'messageId'>['body'] & Pick<MessageWebhookMethodEditParams, 'query'>;Properties
7Methods
0No methods.
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;embeds?: (Embed | APIEmbed | InMessageEmbed)[] | undefined;components?: TopLevelBuilders[] | ReturnType<TopLevelBuilders['toJSON']>[];files?: AttachmentBuilder[] | Attachment[] | RawFile[] | undefined;query?: RESTPatchAPIWebhookWithTokenMessageQuery;