Skip to content

InteractionMessageUpdateBodyRequest

Signature

export type InteractionMessageUpdateBodyRequest = OmitInsert<RESTPatchAPIWebhookWithTokenMessageJSONBody, 'components' | 'embeds' | 'poll' | 'content', SendResolverProps> & {    flags?: MessageFlags;};

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;