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.
Esta referencia describe los eventos de activación y el contenido de la carga del webhook messages de la cuenta de WhatsApp Business para mensajes que contienen un documento.
Cuando ocurre
- Un usuario de WhatsApp envía un documento.
- Un usuario de WhatsApp envía un documento a través de un anuncio de clic a WhatsApp.
Ejemplos
{
"id": "wamid.HBgLMTY1MDM4Nzk0MzkVAgASGBQzQUQ0N0VFMDA2MTQ0RkJFNkNDNAA=",
"timestamp": 1750275992,
"channel": "whatsapp",
"event": "message",
"type": "document",
"document": {
"caption": "<MEDIA_ASSET_CAPTION>",
"filename": "<MEDIA_ASSET_FILENAME>",
"mime_type": "<MEDIA_ASSET_MIME_TYPE>",
"sha256": "<MEDIA_ASSET_SHA256_HASH>",
"url": "<MEDIA_ASSET_URL>"
},
"from": {
"id": "16505551234",
"display_name": "Sheena Nelson",
"phone_number": "16505551234",
"username": null
},
"to": {
"phone_number": "15550783881",
"phone_number_id": "106540352242922"
}
}