React to a message with an emoji
react_to_messageAttach an emoji reaction to a message, or remove one.
Pass a single emoji character, e.g. π. Passing an empty string
removes the reaction this number previously left. A new emoji
replaces this number's previous reaction rather than adding beside
it; to bring the earlier one back, react with it again.
Works on messages in either direction: reacting to something a customer sent is often a cheaper acknowledgement than a reply.
The number first appears online and its unread messages in that conversation are marked as read, then the reaction is sent. Opening the conversation this way is automatic and uses no quota of its own.
Needs a plan that includes reactions. On a plan that does not, this
answers payment_required: feature_not_available, and the answer will
not change by retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emoji | Yes | A single emoji, for example `π`. An empty string removes the reaction this number left before. | |
| message_id | Yes | Message id (`msg_β¦`), as returned by a send or by `list_messages`. | |
| number_alias | No | Which of the organization's WhatsApp numbers this acts on: `main`, the alias of an extra number, or the number's `id` (`num_β¦`), which stays the same when the alias is renamed. Call `list_numbers` to see them. Defaults to the main number. | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||