interface MessageReplyOptions

export interface MessageReplyOptions extends BaseMessageCreateOptions

Options provided when sending a message as an inline reply.

optional
allowedMentions? : MessageMentionOptions

Which mentions should be parsed from the message content (see here for more details)

Inherited from: BaseMessageOptions

Action rows containing interactive components for the message (buttons, select menus) and other top-level components. When using components v2, the flag MessageFlags needs to be set and content, embeds, stickers, and poll cannot be used.

Inherited from: BaseMessageOptions

optional
content? : string = ''

The content for the message. This can only be null when editing a message.

Inherited from: BaseMessageOptions

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

The embeds for the message

Inherited from: BaseMessageOptions

optional
enforceNonce? : boolean

Whether the nonce should be checked for uniqueness in the past few minutes. If another message was created by the same author with the same nonce, that message will be returned and no new message will be created

Inherited from: BaseMessageCreateOptions

optional
failIfNotExists? : boolean = this.client.options.failIfNotExists

Whether to error if the referenced message does not exist (creates a standard message in this case when false)

The files to send with the message.

Inherited from: BaseMessageOptions

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

Which flags to set for the message. Only MessageFlags, MessageFlags and MessageFlags can be set. MessageFlags is required if passing components that aren't action rows

Inherited from: BaseMessageCreateOptions

optional
nonce? : string | number

The nonce for the message This property is required if enforceNonce set to true.

Inherited from: BaseMessageCreateOptions

optional
poll? : JSONEncodable<RESTAPIPoll> | PollData

The poll to send with the message

Inherited from: BaseMessageOptionsWithPoll

optional
stickers? : readonly StickerResolvable[] = []

The stickers to send in the message

Inherited from: BaseMessageCreateOptions

optional
tts? : boolean = false

Whether the message should be spoken aloud

Inherited from: BaseMessageCreateOptions