Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.98 KB

File metadata and controls

38 lines (29 loc) · 1.98 KB

Set/Unset Reactions

Reacting to messages provides a convenient means of expressing reactions through emojis, offering various options for integrations, inquiries, and other creative purposes.

NameRequires AuthPermissionSetting
setReactionYes

Payload Parameters

Argument Example Required Description
emoji :nerd: Required The emoji.
message_id 8gMsLe9ApZjo2D2iB Required The id of the message you want to react to.
setReaction true Required

It can only be true or false.
true: - Set the emoji reaction to the message.
false: Remove the emoji reaction from the message.

Example Call

{
    "msg": "method",
    "method": "setReaction",
    "id": "22",
    "params": [
        ":nerd:",
        "8gMsLe9ApZjo2D2iB",
        true
    ]
}

Example Response

{
    "msg": "result",
    "id": "22"
}