InteractionReplyOptions
Defined in: packages/types/src/index.ts:347
What a reply, edit-reply, follow-up or update to an interaction 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
ephemeral?
Section titled “ephemeral?”
optionalephemeral?:boolean
Defined in: packages/types/src/index.ts:349
Only the person who ran the command sees it.
files?
Section titled “files?”
optionalfiles?: (MessageFile|MessageFileSource)[]
Defined in: packages/types/src/index.ts:350
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
optionalpoll?:MessagePoll
Defined in: packages/types/src/index.ts:351
optionaltts?:boolean
Defined in: packages/types/src/index.ts:293
Inherited from
Section titled “Inherited from”MessagePayload.tts
withResponse?
Section titled “withResponse?”
optionalwithResponse?:boolean
Defined in: packages/types/src/index.ts:353
On reply() / update(): return the created message (one request, no fetchReply()).