export interface BaseMessageCreateOptions extends BaseMessageOptions, MessageOptionsPoll, MessageOptionsFlags, MessageOptionsTTS, MessageOptionsStickersThe options for sending a message.
optionalallowedMentions? : MessageMentionOptions
Which mentions should be parsed from the message content (see here for more details)
Inherited from: BaseMessageOptions
optionalcomponents? : readonly ( | ActionRowData<MessageActionRowComponentBuilder | MessageActionRowComponentData> | APIMessageTopLevelComponent | JSONEncodable<APIActionRowComponent<APIComponentInActionRow>> | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData )[]
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
optionalcontent? : string = ''
The content for the message. This can only be null when editing a message.
Inherited from: BaseMessageOptions
optionalembeds? : readonly (APIEmbed | JSONEncodable<APIEmbed>)[]
The embeds for the message
Inherited from: BaseMessageOptions
optionalenforceNonce? : 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
optionalfiles? : readonly ( | Attachment | AttachmentBuilder | AttachmentPayload | BufferResolvable | JSONEncodable<APIAttachment> | Stream )[]
The files to send with the message.
Inherited from: BaseMessageOptions
externalflags : MessageFlags
Which flags to set for the message. Only MessageFlags, MessageFlags, MessageFlags, and MessageFlags can be set. MessageFlags is required if passing components that aren't action rows
The nonce for the message This property is required if enforceNonce set to true.
optionalpoll? : JSONEncodable<RESTAPIPoll> | PollData
Inherited from: MessageOptionsPoll
externalstickers : Array<StickerResolvable> = []
The stickers to send in the message
externaltts : boolean
Whether the message should be spoken aloud