Sends (or removes) an emoji reaction to a message via
PUT /messages/{MessageID}/reaction.
The endpoint returns only { "success": true | false }.
whapi_react_to_message(
message_id,
emoji,
token = Sys.getenv("WHAPI_TOKEN", unset = ""),
timeout = 30,
verbose = TRUE
)A tibble with columns:
id - message_id reacted to
emoji - emoji used (or "" if removed)
status - "ok" if success, "error" otherwise
success - logical flag from API
resp - raw response (list)
Character(1). Target message ID (WAMID).
Character(1). Emoji to react with.
To remove a reaction, pass an empty string "".
Character(1). Bearer token. Defaults to env var WHAPI_TOKEN.
Numeric(1). Request timeout in seconds. Default: 30.
Logical(1). Print CLI logs? Default: TRUE.