Preview environment

interface InteractionReplyOptions

export interface InteractionReplyOptions extends BaseMessageOptionsWithPoll

Options for a reply to a BaseInteraction.

optional
allowedMentions? : MessageMentionOptions

Which mentions should be parsed from the message content (see [here](https://discord.com/developers/docs/resources/message#allowed-mentions-object) for more details)

Inherited from: BaseMessageOptions

Action rows containing interactive components for the message (buttons, select menus)

Inherited from: BaseMessageOptions

optional
content? : string

The content for the message. This can only be null when editing a message. (default: '')

Inherited from: BaseMessageOptions

optional
embeds? : readonly (JSONEncodable<APIEmbed> | APIEmbed)[]

The embeds for the message

Inherited from: BaseMessageOptions

optional
ephemeral? : boolean

Whether the reply should be ephemeral

optional
fetchReply? : boolean

Whether to fetch the reply

The files to send with the message.

Inherited from: BaseMessageOptions

optional
flags? : BitFieldResolvable<Extract<MessageFlagsString, 'Ephemeral' | 'SuppressEmbeds' | 'SuppressNotifications'>, MessageFlags.Ephemeral | MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications>

Which flags to set for the message. Only MessageFlags.Ephemeral, MessageFlags.SuppressEmbeds, and MessageFlags.SuppressNotifications can be set.

optional
poll? : PollData

The poll to send with the message

Inherited from: BaseMessageOptionsWithPoll

optional
tts? : boolean

Whether the message should be spoken aloud