InteractionReplyOptions

interface InteractionReplyOptions

Options for replying to an interaction.

Properties

Property

Type

Description

allowedMentions?

AllowedMentions

Controls which mentions are delivered.

components?

Component[]

Interactive components.

content?

string

Message body text.

embeds?

EmbedLike[]

Rich embeds to attach.

ephemeral?

boolean

Indicates whether this reply should only be visible to the interacting user.

poll?

PollCreateOptions

Poll to include with the reply.

tts?

boolean

Indicates whether this is a text-to-speech message.