reaction_removed event
A member removed an emoji reaction
Compatibility:Â RTMÂ Events API
{
"type": "reaction_removed",
"user": "U024BE7LH",
"reaction": "thumbsup",
"item_user": "U0G9QF9C6",
"item": {
"type": "message",
"channel": "C0G9QF9GZ",
"ts": "1360782400.498405"
},
"event_ts": "1360782804.083113"
}
When a reaction is removed from an item the reaction_removed
event is sent to all connected clients for users who can see the content that had the reaction.
The user
field indicates the ID of the user who performed this event. The item_user
field represents the ID of the user that created the original item that has been reacted to.
Some messages aren't authored by "users," like those created by incoming webhooks. reaction_removed
events related to these messages will not include an item_user
.
The item
field is a brief reference to what the reaction was attached to. The above example describes a reaction being removed from a message.
Embedded item objects
Embedded item
nodes are more lightweight than the structures you'll find in reactions.list
.
Here are some examples:
Message:
"item": {
"type": "message",
"channel": "C0G9QF9GZ",
"ts": "1360782400.498405"
}
File:
"item": {
"type": "file",
"file": "F0HS27V1Z"
}
File Comment:
"item": {
"type": "file_comment",
"file_comment": "Fc0HS2KBEZ",
"file": "F0HS27V1Z"
}
Events API compatibility
Subscribe to this event via the Events API.
Events of this type will be wrapped in metadata when sent via the Events API.