InteractionMessageUpdateBodyRequest
Signature
export type InteractionMessageUpdateBodyRequest = OmitInsert<RESTPatchAPIWebhookWithTokenMessageJSONBody, 'components' | 'embeds' | 'poll' | 'content', SendResolverProps> & { flags?: MessageFlags;};Properties
8Methods
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
poll?: PollBuilder | RESTAPIPollCreate | undefined;content?: string | undefined | null;embeds?: (Embed | APIEmbed | InMessageEmbed)[] | undefined;components?: TopLevelBuilders[] | ReturnType<TopLevelBuilders['toJSON']>[];files?: AttachmentBuilder[] | Attachment[] | RawFile[] | undefined;flags?: MessageFlags;