MessageCreateOptions
Defined in: packages/types/src/index.ts:329
What send() takes.
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
enforce_nonce?
Section titled “enforce_nonce?”
optionalenforce_nonce?:boolean
Defined in: packages/types/src/index.ts:338
files?
Section titled “files?”
optionalfiles?: (MessageFile|MessageFileSource)[]
Defined in: packages/types/src/index.ts:331
Files to upload; the message is sent as multipart.
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
message_reference?
Section titled “message_reference?”
optionalmessage_reference?:APIMessageReference
Defined in: packages/types/src/index.ts:333
Reply to or forward another message.
nonce?
Section titled “nonce?”
optionalnonce?:string|number
Defined in: packages/types/src/index.ts:337
Returned on the Gateway event so the client can match its own message.
optionalpoll?:MessagePoll
Defined in: packages/types/src/index.ts:334
sticker_ids?
Section titled “sticker_ids?”
optionalsticker_ids?:string[]
Defined in: packages/types/src/index.ts:335
optionaltts?:boolean
Defined in: packages/types/src/index.ts:293
Inherited from
Section titled “Inherited from”MessagePayload.tts