Preview environment

interface BaseMessageOptions

export interface BaseMessageOptions

The base message options for messages.

optional
allowedMentions? : MessageMentionOptions

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

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.

optional
content? : string = ''

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

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

The embeds for the message

The files to send with the message.