ChatMessage
Represents a message in a chat.
Properties
id
The id of this message.
channel
The channel in which the message was sent.
content
The content of this message. This can be any JSON-serializable object or value.
publishedAt
The date and time at which this message was published.
member
The member which sent this message. See ChatMember.
meta
Any metadata associated to this message.
Example
Listening for messages and accessing ChatMessage properties: