Skip to main content
Input data for creating a Message instance. Use this interface when constructing Message objects.

Properties

Attachment[]
required
Type: AttachmentAttachments
required
Message author
required
Structured formatting as an AST (mdast Root)
string
required
Unique message ID
boolean
Whether the bot is @-mentioned in this message
Type: LinkPreviewLinks found in the message
Message metadata
TRawMessage
required
Platform-specific raw payload (escape hatch)
Message<TRawMessage>
Type: MessageMessage this message replies to
string
required
Plain text content (all formatting stripped)
string
required
Thread this message belongs to