reactions.get
method
Welcome to the new home of Slack developer docs!
We're still building and not all features are available quite yet. Enjoy this peek into the future!
Not ready for the future? Return to the past at api.slack.com.
Usage info
This method returns a list of all reactions for a single item (file, file comment, channel message, group message, or direct message).
Response
An item will always have a type
property, while the other properties depend on the type of item. The possible types are:
message
: the item will have amessage
property containing a message object and achannel
property containing the channel ID for the messagefile
: this item will have afile
property containing a file objectfile_comment
: the item will have afile
property containing the file object and acomment
property containing the file comment
The users
array in the reactions
property will always contain the authenticated user, but might not always contain all users that have reacted. The value of count
, however, will always represent the count of all users who made that reaction (i.e. it may be greater than users.length
).