interface InteractionReplyOptions
extends
BaseMessageOptionsWithPollexport interface InteractionReplyOptions extends BaseMessageOptionsWithPoll
Options for a reply to a BaseInteraction.
optionalMessageMentionOptions allowedMentions? :
Which mentions should be parsed from the message content (see here for more details)
Inherited from: BaseMessageOptions
optionalreadonly ( | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData | ActionRowData<MessageActionRowComponentData | MessageActionRowComponentBuilder> | APIMessageTopLevelComponent )[] components? :
Action rows containing interactive components for the message (buttons, select menus) and other top-level components. When using components v2, the flag MessageFlags.IsComponentsV2 needs to be set and content
, embeds
, stickers
, and poll
cannot be used.
Inherited from: BaseMessageOptions
optionalstring content? :
The content for the message. This can only be null
when editing a message.
Inherited from: BaseMessageOptions
optionalreadonly (JSONEncodable<APIEmbed> | APIEmbed)[] embeds? :
The embeds for the message
Inherited from: BaseMessageOptions
optionalboolean ephemeral? :
Whether the reply should be ephemeral. This option is deprecated. Use flags
instead.
optionalboolean fetchReply? :
Whether to fetch the reply This option is deprecated. Use withResponse
or fetch the response instead.
optionalreadonly ( | BufferResolvable | Stream | JSONEncodable<APIAttachment> | Attachment | AttachmentBuilder | AttachmentPayload )[] files? :
The files to send with the message.
Inherited from: BaseMessageOptions
optional BitFieldResolvable<Extract<MessageFlagsString, 'Ephemeral' | 'SuppressEmbeds' | 'SuppressNotifications' | 'IsComponentsV2'>, | MessageFlags.Ephemeral | MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications | MessageFlags.IsComponentsV2> | undefined flags? :
Which flags to set for the message. Only MessageFlags.Ephemeral
, MessageFlags.SuppressEmbeds
, and MessageFlags.SuppressNotifications
can be set.
optionalPollData poll? :
The poll to send with the message
Inherited from: BaseMessageOptionsWithPoll
optionalboolean tts? :
Whether the message should be spoken aloud
optionalboolean withResponse? :
Whether to return an InteractionCallbackResponse as the response