Carbon
Core/Type Aliases

MessagePayloadObject

MessagePayloadObject = object

Properties

allowedMentions?

optional allowedMentions: AllowedMentions

The settings for which mentions are allowed in the message


components?

optional components: TopLevelComponents[]

The components to send in the message


content?

optional content: string

The content of the message


embeds?

optional embeds: Embed[]

The embeds of the message


files?

optional files: MessagePayloadFile[]

The files to send in the message


flags?

optional flags: number

The flags for the message


poll?

optional poll: PollSendPayload

The poll to send in the message


tts?

optional tts: boolean

Whether the message should be TTS

On this page