interface BaseMessageOptionsWithPoll
extends
BaseMessageOptionsexport interface BaseMessageOptionsWithPoll extends BaseMessageOptions
The base message options for messages including a poll.
optionalMessageMentionOptions allowedMentions? :
Which mentions should be parsed from the message content (see here for more details)
Inherited from: BaseMessageOptions
optionalreadonly ( | ActionRowData<MessageActionRowComponentBuilder | MessageActionRowComponentData> | APIMessageTopLevelComponent | JSONEncodable<APIActionRowComponent<APIComponentInActionRow>> | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData )[] components? :
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
optionalstring = '' content? :
The content for the message. This can only be null
when editing a message.
Inherited from: BaseMessageOptions
optionalreadonly (APIEmbed | JSONEncodable<APIEmbed>)[] embeds? :
The embeds for the message
Inherited from: BaseMessageOptions
optionalreadonly ( | Attachment | AttachmentBuilder | AttachmentPayload | BufferResolvable | JSONEncodable<APIAttachment> | Stream )[] files? :
The files to send with the message.
Inherited from: BaseMessageOptions
optionalJSONEncodable<RESTAPIPoll> | PollData poll? :
The poll to send with the message