Subscribe to Messages
- Tab Title
- Tab Title
- Tab Title
- Tab Title
Message Structure
The following is the structure of a message: The following are the properties of a message:| Property | Description | Type |
|---|---|---|
serial | An Ably-generated ID used to uniquely identify the message. | String |
clientId | The client identifier of the user that created the message. | String |
text | The message contents. | String |
headers | Optional headers for adding additional information to a message. | Object |
metadata | Optional additional metadata about the message. | Object |
timestamp | The time the message was created. | Date |
action | The latest action performed on this message. | String |
Send a Message
- Tab Title
- Tab Title
- Tab Title
- Tab Title
Update a Message
- Tab Title
- Tab Title
- Tab Title
- Tab Title
Delete a Message
- Tab Title
- Tab Title
- Tab Title
- Tab Title
Next Steps
- Learn about presence
- Explore typing indicators
- Understand room reactions
