Remove a reaction
Removes a specific reaction from a message.
Note: Currently, this action is only available in group channels.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Required
Parameter name | Type | Description |
---|---|---|
channel_type | string | Specifies the type of the channel. Currently, the only acceptable value is group_channels. |
channel_url | string | Specifies the URL of the target channel. |
message_id | long | Specifies the unique ID of the message to remove a reaction from. |
user_id | string | Specifies the ID of the user who reacted to the message. Urlencoding the value is recommended (for example, |
reaction | string | Specifies the key of the reaction to be removed from the message. The length is limited to 192 characters. |
Response
If successful, this action returns the information about the reaction event in the response body.
List of response properties
Property name | Type | Description |
---|---|---|
user_id | string | The ID of the user who reacted to the message. |
operation | string | The operation type of the request. Valid values are ADD and DELETE. |
success | boolean | Indicates whether the reaction operation succeeded or failed. The value of false indicates that there is an identical operation attempt made by the same user to the same message. |
reaction | string | The unique key of the reaction. |
updated_at | long | The time when the message reaction was updated in Unix milliseconds. This appears only when the success property is true. |
In the case of an error, an error object is returned. A detailed list of error codes is available here.