WhatsApp · JSON Structure

Whatsapp Cloud Api Reaction Message Structure

ReactionMessage from WhatsApp API

Type: object Properties: 2 Required: 2

ReactionMessage is a JSON Structure definition published by WhatsApp, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

message_id emoji

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/whatsapp/refs/heads/main/json-structure/whatsapp-cloud-api-reaction-message-structure.json",
  "name": "ReactionMessage",
  "description": "ReactionMessage from WhatsApp API",
  "type": "object",
  "properties": {
    "message_id": {
      "type": "string",
      "description": "ID of the message to react to",
      "example": "wamid.abc123"
    },
    "emoji": {
      "type": "string",
      "description": "Emoji character or empty string to remove reaction",
      "example": "example_value"
    }
  },
  "required": [
    "message_id",
    "emoji"
  ]
}