MessageEditOptions
Defined in: packages/types/src/index.ts:342
What edit() takes: the fields Discord lets you change after sending.
Extends
Section titled “Extends”MessagePayload
Indexable
Section titled “Indexable”[
key:string]:unknown
Properties
Section titled “Properties”allowed_mentions?
Section titled “allowed_mentions?”
optionalallowed_mentions?:AllowedMentions
Defined in: packages/types/src/index.ts:290
Inherited from
Section titled “Inherited from”MessagePayload.allowed_mentions
attachments?
Section titled “attachments?”
optionalattachments?:object[]
Defined in: packages/types/src/index.ts:295
Attachment metadata for files sent with the message.
description?
Section titled “description?”
optionaldescription?:string
filename?
Section titled “filename?”
optionalfilename?:string
id:
string|number
Inherited from
Section titled “Inherited from”MessagePayload.attachments
components?
Section titled “components?”
optionalcomponents?:Buildable<APIMessageComponent>[]
Defined in: packages/types/src/index.ts:289
Inherited from
Section titled “Inherited from”MessagePayload.components
content?
Section titled “content?”
optionalcontent?:string
Defined in: packages/types/src/index.ts:287
Inherited from
Section titled “Inherited from”MessagePayload.content
embeds?
Section titled “embeds?”
optionalembeds?:Buildable<APIEmbed>[]
Defined in: packages/types/src/index.ts:288
Inherited from
Section titled “Inherited from”MessagePayload.embeds
files?
Section titled “files?”
optionalfiles?: (MessageFile|MessageFileSource)[]
Defined in: packages/types/src/index.ts:343
flags?
Section titled “flags?”
optionalflags?:number
Defined in: packages/types/src/index.ts:292
Discord message flags, e.g. MessageFlags.SuppressEmbeds.
Inherited from
Section titled “Inherited from”MessagePayload.flags
optionaltts?:boolean
Defined in: packages/types/src/index.ts:293
Inherited from
Section titled “Inherited from”MessagePayload.tts