Tipos de mensaje
Imagen
Envía una imagen con texto opcional
POST
Formatos y Límites de Tamaño
| Tipo de Medio | Formatos Soportados | Límite de Tamaño |
|---|---|---|
| Imagen | image/jpeg, image/png | 5MB |
Requisitos de URL
Errores Comunes
INVALID_MEDIA_URL- La URL de la imagen es inválida o inaccesibleMEDIA_TOO_LARGE- La imagen excede el límite de 5MBUNSUPPORTED_MEDIA_TYPE- El formato de imagen no es soportado
Casos de Uso
- Compartir fotos de productos
- Enviar menús visuales
- Mostrar instrucciones visuales
- Compartir capturas de pantalla
Autorizaciones
Basic authentication using Base64 encoded clientId:clientSecret
Parámetros de ruta
The unique identifier of the bot
Cuerpo
application/json
Message payload. The structure varies based on the message type.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
Type of message to send
Opciones disponibles:
text Ejemplo:
"text"
Unique identifier of the user receiving the message
Ejemplo:
"USER_ID"
Text content of the message
Ejemplo:
"Hello, this is a text message"
Unique identifier of the bot sending the message
Ejemplo:
"BOT_ID"