> ## Documentation Index
> Fetch the complete documentation index at: https://docs.heybot.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Mensaje de reacción

Los mensajes de reacción son reacciones con emoji que puedes aplicar a los mensajes previos que recibes de usuarios de WhatsApp.

<img src="https://mintcdn.com/heybot/V-xiw4Dp5VkEstVO/images/reaction.png?fit=max&auto=format&n=V-xiw4Dp5VkEstVO&q=85&s=6bd40fcf4d9179b5491e8cce0e1d9aad" width="1695" height="276" data-path="images/reaction.png" />

## Limitaciones

La secuencia de caracteres de escape Unicode del emoji, o el mismo emoji, para aplicar al mensaje del usuario.

<ParamField body="to" type="string" required>
  The recipient's phone number or WhatsApp ID.
</ParamField>

<ParamField body="type" type="string" required default="reaction">
  The overall type of message being sent.
</ParamField>

<ParamField body="reaction" type="object" required>
  The reaction payload configuration.

  <Expandable title="reaction properties">
    <ParamField body="message_id" type="string" required>
      The WhatsApp message ID of the message you want to apply the emoji to (e.g., `wamid.HBg...`).

      *Note: If the message is more than 30 days old, deleted, or is itself a reaction, the reaction will fail.*
    </ParamField>

    <ParamField body="emoji" type="string" required>
      The emoji to apply to the user's message. You can pass the actual emoji (e.g., `😀`) or its Unicode escape sequence (e.g., `\uD83D\uDE00`).

      *(To remove a previously sent reaction, send this request with an empty string `""`.)*
    </ParamField>
  </Expandable>
</ParamField>

## Ejemplo

```json theme={null}
{
  "to": 5219876543210,
  "type": "reaction",
  "reaction": {
    "message_id": "<WHATSAPP_MESSAGE_ID>",
    "emoji": "<EMOJI>"
  }
}
```
