Users, bots, and system administrators can send messages
Messages are the core building blocks of ChatKitty applications. Users send messages using the client SDK, while bots and system administrators can send messages using the Platform API. Text messages have a Unicode text body, while file messages have a file attached to them. User messages are messages sent by end-users of your application through the client SDK. System messages are messages sent via the Platform API on behalf of the application.
64-bit integer identifier associated with this message
The type of this message. TEXT, or FILE
The text body of this message. Present if this is a text message
The file attached to this message. Present if this is a file message
MessageLink [ ]
Message links found in this message. Present if this is a text message
Mention [ ]
Mentions of channels and users in this message. Present if this is a text message
The user who sent this message. Absent if this is a system message
ISO 8601 date-time when this message was created
Custom data associated with this message
There are four types of messages:
User Text Message
Users can send text messages containing a Unicode text body. These messages can contain emojis and other Unicode characters.
User File Message
Users can send files messages with a file attachment.
System Text Message
You can send text messages containing a Unicode text body on behalf of your application.
System File Message
You can send file messages with a file attachment on behalf of your application.