Messages

React to a Message

Add or remove an emoji reaction to a previously sent message.

post/messages/react

Request

  • Base URL: https://api.pinnacle.sh
  • URL: https://api.pinnacle.sh/messages/react
  • Auth: API key in header PINNACLE-API-KEY

Request body

messageIdstring required

Unique identifier of the message. This identifier is a string that always begins with the prefix msg_, for example: msg_1234567890.

reactionstring nullable required

Unicode emoji to add. <br>

Use null to remove existing reaction.

Response

Successfully added or removed a reaction from the message.

messageIdstring required

Unique identifier of the message. This identifier is a string that always begins with the prefix msg_, for example: msg_1234567890.

reactionMessageIdstring required

Unique identifier of the message with the reaction. This identifier is a string that always begins with the prefix msg_, for example: msg_1234567890.

Changes

No recorded changes to this operation across all 1 revision of this API.