Message Actions
Attach and receive custom message actions, such as emoji reactions or read receipts, with ALO's messaging features.
Message actions is a list of custom objects you can attach to a message that has already been published. You can use this collection for whatever you need such as emoji reactions, read receipts, and more.
Send a message action
sendMessageAction({ channelId: string, messageId: string, action: object })
sendMessageAction({ channelId: string, messageId: string, action: object })
Name | Type | Required | Description |
channelId | string | yes | The id of the channel where the message is located |
messageId | string | yes | The id of the message to append the message action to |
action | object | yes | A custom object that you can fill with whatever key/value information you'd like |
Receive a message action
You will receive an event every time a message action is sent in a channel that you are subscribed to.
Last updated