React to a Message

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

Headers

PINNACLE-API-KEYstringRequired

Request

This endpoint expects an object.
messageIdintegerRequired>=1
Unique identifier of the message.
reactionstring or nullRequired

Unicode emoji to add.

Use null to remove existing reaction.

optionsobjectOptional

Response

Successfully added or removed a reaction from the message.
messageIdinteger
ID of the message.
reactionMessageIdinteger
Unique identifier for the reaction.

Errors