Tipos de mensaje
Archivo
Envía un documento o archivo
POST
Formatos y Límites de Tamaño
| Tipo de Medio | Formatos Soportados | Límite de Tamaño |
|---|---|---|
| Archivo | text/plain, application/pdf, formatos Office (.doc, .docx, .ppt, .pptx, .xls, .xlsx) | 100MB |
Requisitos de URL
Errores Comunes
INVALID_MEDIA_URL- La URL del archivo es inválida o inaccesibleMEDIA_TOO_LARGE- El archivo excede el límite de 100MBUNSUPPORTED_MEDIA_TYPE- El formato de archivo no es soportado
Casos de Uso
- Enviar facturas o recibos
- Compartir documentos legales
- Enviar reportes o análisis
- Compartir presentaciones
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"