Chat Message Reactions

Chat Message Reactions

Toggles the authenticated user's reaction to the provided message.

Payload

The emoji does not have to contain the :'s. However, the emoji does have to exist.

Example Call

curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
     -H "X-User-Id: aobEdbYhXfu5hkeqG" \
     -H "Content-type:application/json" \
     http://localhost:3000/api/v1/chat.react \
     -d '{ "messageId": "7aDSXtjMA3KPLxLjt", "emoji": "smile", "shouldReact": true }'

Example Result

{
    "success": true
}

Change Log

Last updated

Rocket.Chat versions receive support for six months after release.