EditMessage
Documentation / @discordeno/bot / EditMessage
Interface: EditMessage
Defined in: packages/types/dist/types/discordeno.d.ts:1062
https://discord.com/developers/docs/resources/channel#edit-message-json-params
Properties
allowedMentions?
optional
allowedMentions:AllowedMentions
Defined in: packages/types/dist/types/discordeno.d.ts:1072
Allowed mentions for the message
attachments?
optional
attachments:Pick
<{contentType
:string
;description
:string
;durationSecs
:number
;ephemeral
:boolean
;filename
:string
;flags
:AttachmentFlags
;height
:null
|number
;id
:string
;proxyUrl
:string
;size
:number
;title
:string
;url
:string
;waveform
:string
;width
:null
|number
; },"id"
> &Omit
<Partial
<{contentType
:string
;description
:string
;durationSecs
:number
;ephemeral
:boolean
;filename
:string
;flags
:AttachmentFlags
;height
:null
|number
;id
:string
;proxyUrl
:string
;size
:number
;title
:string
;url
:string
;waveform
:string
;width
:null
|number
; }>,"id"
>[]
Defined in: packages/types/dist/types/discordeno.d.ts:1074
When specified (adding new attachments), attachments which are not provided in this list will be removed.
components?
optional
components:MessageComponents
Defined in: packages/types/dist/types/discordeno.d.ts:1076
The components you would like to have sent in this message
content?
optional
content:null
|string
Defined in: packages/types/dist/types/discordeno.d.ts:1064
The new message contents (up to 2000 characters)
embeds?
optional
embeds:null
|object
[]
Defined in: packages/types/dist/types/discordeno.d.ts:1066
Embedded rich
content (up to 6000 characters)
files?
optional
files:FileContent
[]
Defined in: packages/types/dist/types/discordeno.d.ts:1070
The contents of the files being sent/edited
flags?
optional
flags:null
|MessageFlags
Defined in: packages/types/dist/types/discordeno.d.ts:1068
Edit the flags of the message (only SUPPRESS_EMBEDS
can currently be set/unset)