Preview environment

interface BaseMessageOptionsWithPoll

export interface BaseMessageOptionsWithPoll extends BaseMessageOptions

The base message options for messages including a poll.

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)

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

The files to send with the message.

Inherited from: BaseMessageOptions

optional
poll? : PollData

The poll to send with the message