Skip to content

InteractionReplyOptions

Defined in: packages/types/src/index.ts:347

What a reply, edit-reply, follow-up or update to an interaction takes.

  • MessagePayload

[key: string]: unknown

optional allowed_mentions?: AllowedMentions

Defined in: packages/types/src/index.ts:290

MessagePayload.allowed_mentions


optional attachments?: object[]

Defined in: packages/types/src/index.ts:295

Attachment metadata for files sent with the message.

optional description?: string

optional filename?: string

id: string | number

MessagePayload.attachments


optional components?: Buildable<APIMessageComponent>[]

Defined in: packages/types/src/index.ts:289

MessagePayload.components


optional content?: string

Defined in: packages/types/src/index.ts:287

MessagePayload.content


optional embeds?: Buildable<APIEmbed>[]

Defined in: packages/types/src/index.ts:288

MessagePayload.embeds


optional ephemeral?: boolean

Defined in: packages/types/src/index.ts:349

Only the person who ran the command sees it.


optional files?: (MessageFile | MessageFileSource)[]

Defined in: packages/types/src/index.ts:350


optional flags?: number

Defined in: packages/types/src/index.ts:292

Discord message flags, e.g. MessageFlags.SuppressEmbeds.

MessagePayload.flags


optional poll?: MessagePoll

Defined in: packages/types/src/index.ts:351


optional tts?: boolean

Defined in: packages/types/src/index.ts:293

MessagePayload.tts


optional withResponse?: boolean

Defined in: packages/types/src/index.ts:353

On reply() / update(): return the created message (one request, no fetchReply()).