EditMessage
Documentation / @discordeno/types / EditMessage
Interface: EditMessage
Defined in: discordeno/message.ts:121
https://docs.discord.com/developers/resources/channel#edit-message-json-params
Properties
allowedMentions?
optionalallowedMentions?:AllowedMentions|null
Defined in: discordeno/message.ts:136
Allowed mentions for the message
attachments?
optionalattachments?:Pick<DiscordAttachment,"id"|"description"|"filename">[]
Defined in: discordeno/message.ts:142
When specified (adding new attachments), attachments which are not provided in this list will be removed.
components?
optionalcomponents?:MessageComponents
Defined in: discordeno/message.ts:138
The components you would like to have sent in this message
content?
optionalcontent?:string|null
Defined in: discordeno/message.ts:123
The new message contents (up to 2000 characters)
embeds?
optionalembeds?:object[] |null
Defined in: discordeno/message.ts:125
Embedded rich content (up to 6000 characters)
files?
optionalfiles?:FileContent[]
Defined in: discordeno/message.ts:140
The contents of the files being sent/edited
flags?
optionalflags?:number|null
Defined in: discordeno/message.ts:134
Edit the flags of the message
Remarks
Only SUPPRESS_EMBEDS and IS_COMPONENT_V2, only SUPPRESS_EMBEDS can be unset, both can be set