interface MessageReplyOptions
extends
BaseMessageCreateOptionsexport interface MessageReplyOptions extends BaseMessageCreateOptions
Options provided when sending a message as an inline reply.
optionalMessageMentionOptions allowedMentions? :
Which mentions should be parsed from the message content (see here for more details)
Inherited from: BaseMessageOptions
optionalreadonly ( | JSONEncodable<APIActionRowComponent<APIComponentInActionRow>> | ActionRowData<MessageActionRowComponentData | MessageActionRowComponentBuilder> | APIActionRowComponent<APIComponentInActionRow> )[] components? :
Action rows containing interactive components for the message (buttons, select menus)
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 enforceNonce? :
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
optionalboolean = this.client.options.failIfNotExists failIfNotExists? :
Whether to error if the referenced message does not exist (creates a standard message in this case when false)
optionalreadonly ( | BufferResolvable | Stream | JSONEncodable<APIAttachment> | Attachment | AttachmentBuilder | AttachmentPayload )[] files? :
The files to send with the message.
Inherited from: BaseMessageOptions
optional BitFieldResolvable<Extract<MessageFlagsString, 'SuppressEmbeds' | 'SuppressNotifications'>, MessageFlags.SuppressEmbeds | MessageFlags.SuppressNotifications> | undefined flags? :
Which flags to set for the message. Only MessageFlags.SuppressEmbeds
and MessageFlags.SuppressNotifications
can be set.
Inherited from: BaseMessageCreateOptions
The nonce for the message This property is required if enforceNonce
set to true
.
Inherited from: BaseMessageCreateOptions
optionalJSONEncodable<RESTAPIPoll> | PollData poll? :
The poll to send with the message
Inherited from: BaseMessageOptionsWithPoll
optionalreadonly StickerResolvable[] = [] stickers? :
The stickers to send in the message
Inherited from: BaseMessageCreateOptions
optionalboolean = false tts? :
Whether the message should be spoken aloud
Inherited from: BaseMessageCreateOptions