Add a reaction to a message
POST {{baseUrl}}/v3/:channel_type/:channel_url/messages/:message_id/reactions
Add a reaction to a message
Adds a specific reaction to a message.
Note: Currently, this action is only available in group channels.
https://sendbird.com/docs/chat/v3/platform-api/guides/messages#2-add-a-reaction-to-a-message
Request Body
{"channel_type"=>"<string>", "channel_url"=>"<string>", "message_id"=>"<integer>", "user_id"=>"<string>", "reaction"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Api-Token | string | (Required) | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"user_id":"\u003cstring\u003e","operation":"\u003cstring\u003e","success":"\u003cboolean\u003e","reaction":"\u003cstring\u003e","updated_at":"\u003cnumber\u003e","msg_id":"\u003cnumber\u003e"}