Mensajes RCS
RCS (Rich Communication Services) es la próxima generación de mensajería para dispositivos Android, que ofrece medios enriquecidos, interactividad y funciones avanzadas más allá de los SMS tradicionales.
Descripción general
RCS proporciona capacidades de mensajería mejoradas:
- Rich media (imágenes, vídeos, GIF)
- Botones y carruseles interactivos.
- Leer recibos e indicadores de mecanografía.
- Límites de caracteres más altos (hasta 3072 caracteres)
- Mejor seguimiento de la entrega
- Identificación de remitente de marca
Disponibilidad
- Plataforma: solo dispositivos Android
- Red: Requiere soporte RCS del operador
- Retroceso: recurre automáticamente a SMS si RCS no está disponible
Mensaje RCS básico

Solicitud
{
"from": "YourBrand",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Your RCS message text with rich formatting"
}
Parámetros
| Parámetro | Tipo | Requerido | Descripción |
|---|---|---|---|
de |
cadena | Sí | ID de remitente alfanumérico |
a |
cadena | Sí | Número de teléfono del destinatario (E.164) |
tipo |
cadena | Sí | Establecer en "rcs" |
texto |
cadena | Sí | Contenido del mensaje (hasta 3072 caracteres) |
mensajeDatos |
objeto | No | Rich media y botones |
Tipos de mensajes
Sólo texto
Mensaje de texto simple con límite de caracteres ampliado:
{
"from": "YourBrand",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Welcome to our service! RCS allows us to send much longer messages with rich formatting and interactive elements."
}
Texto + Imagen
{
"from": "YourBrand",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Check out our new product!",
"messageData": {
"media": {
"url": "https://example.com/product.jpg",
"type": "image/jpeg",
"height": 600,
"width": 800
}
}
}
Texto + Imagen + Botón
{
"from": "YourStore",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Summer Sale - Up to 50% off!",
"messageData": {
"media": {
"url": "https://example.com/sale-banner.jpg",
"type": "image/jpeg"
},
"buttons": [
{
"text": "Shop Now",
"action": {
"type": "openUrl",
"url": "https://example.com/sale"
}
}
]
}
}
Texto + Vídeo
{
"from": "YourBrand",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Watch our product demo",
"messageData": {
"media": {
"url": "https://example.com/demo.mp4",
"type": "video/mp4",
"thumbnail": "https://example.com/thumbnail.jpg"
}
}
}
Texto + Múltiples botones
{
"from": "YourService",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Your order #12345 is ready for pickup",
"messageData": {
"buttons": [
{
"text": "Track Order",
"action": {
"type": "openUrl",
"url": "https://example.com/track/12345"
}
},
{
"text": "Contact Support",
"action": {
"type": "dial",
"phoneNumber": "+380XXXXXXXXX"
}
},
{
"text": "Cancel Order",
"action": {
"type": "openUrl",
"url": "https://example.com/cancel/12345"
}
}
]
}
}
Carrusel RCS
Muestre varios elementos en un carrusel desplazable:
{
"from": "YourStore",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Featured Products",
"messageData": {
"carousel": {
"cards": [
{
"title": "Product A",
"description": "Premium quality product",
"media": {
"url": "https://example.com/product-a.jpg",
"type": "image/jpeg"
},
"buttons": [
{
"text": "Buy Now",
"action": {
"type": "openUrl",
"url": "https://example.com/product-a"
}
},
{
"text": "Details",
"action": {
"type": "openUrl",
"url": "https://example.com/product-a/details"
}
}
]
},
{
"title": "Product B",
"description": "Best seller",
"media": {
"url": "https://example.com/product-b.jpg",
"type": "image/jpeg"
},
"buttons": [
{
"text": "Buy Now",
"action": {
"type": "openUrl",
"url": "https://example.com/product-b"
}
}
]
}
]
}
}
}
Acciones del botón
Abrir URL
Marcar número de teléfono
Enviar ubicación
Evento del calendario
{
"text": "Add to Calendar",
"action": {
"type": "createCalendarEvent",
"title": "Appointment",
"startTime": "2025-01-25T14:00:00Z",
"endTime": "2025-01-25T15:00:00Z"
}
}
Especificaciones de medios
Imágenes
- Formatos: JPEG, PNG, GIF
- Tamaño máximo: 2 MB
- Resolución recomendada: 800x600 o 1200x800
- Relación de aspecto: 16:9 o 4:3
Vídeos
- Formatos: MP4, 3GP
- Tamaño máximo: 10 MB
- Duración máxima: 2 minutos
- Resolución recomendada: 1280x720
Audio
- Formatos: MP3, AAC
- Tamaño máximo: 5 MB
- Duración máxima: 5 minutos
Recurrir a SMS
RCS recurre automáticamente a SMS cuando:
- El destinatario no tiene RCS
- RCS está deshabilitado en el dispositivo del destinatario
- La red no soporta RCS
{
"from": "YourBrand",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Check out our new product!",
"messageData": {
"media": {
"url": "https://example.com/product.jpg",
"type": "image/jpeg"
},
"buttons": [
{
"text": "Shop Now",
"action": {
"type": "openUrl",
"url": "https://example.com/shop"
}
}
]
},
"fallback": {
"type": "sms",
"text": "Check out our new product! Visit: https://example.com/shop"
}
}
Casos de uso
Comercio electrónico
{
"from": "YourStore",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Your order has been shipped!",
"messageData": {
"media": {
"url": "https://example.com/package.jpg",
"type": "image/jpeg"
},
"buttons": [
{
"text": "Track Package",
"action": {
"type": "openUrl",
"url": "https://example.com/track/ABC123"
}
},
{
"text": "Contact Support",
"action": {
"type": "dial",
"phoneNumber": "+380XXXXXXXXX"
}
}
]
}
}
Banca
{
"from": "YourBank",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Low balance alert: Your account balance is $50",
"messageData": {
"buttons": [
{
"text": "View Balance",
"action": {
"type": "openUrl",
"url": "https://bank.example.com/balance"
}
},
{
"text": "Transfer Money",
"action": {
"type": "openUrl",
"url": "https://bank.example.com/transfer"
}
}
]
}
}
Viajes
{
"from": "YourAirline",
"to": "+380XXXXXXXXX",
"type": "rcs",
"text": "Your flight is departing in 3 hours",
"messageData": {
"media": {
"url": "https://example.com/boarding-pass.jpg",
"type": "image/jpeg"
},
"buttons": [
{
"text": "Check-in",
"action": {
"type": "openUrl",
"url": "https://airline.example.com/checkin"
}
},
{
"text": "Add to Calendar",
"action": {
"type": "createCalendarEvent",
"title": "Flight Departure",
"startTime": "2025-01-25T10:00:00Z"
}
}
]
}
}
Mejores prácticas
Contenido
- ✅ Utilice imágenes de alta calidad (800x600 mínimo)
- ✅ Mantenga el texto del botón breve (2-3 palabras)
- ✅ Proporcionar SMS alternativos para contenido enriquecido
- ✅ Prueba en diferentes dispositivos Android
- ❌ No excedas de 4-5 botones por mensaje
- ❌ Evite archivos de vídeo grandes (>5 MB)
Medios
- Utilice URL HTTPS para todos los medios
- Optimizar imágenes para dispositivos móviles.
- Incluir texto alternativo para accesibilidad.
- Pruebe las URL de los medios antes de enviarlas
Botones
- Máximo 4 botones por mensaje
- Texto claro de llamado a la acción
- Pruebe todas las acciones de los botones.
- Considere la posibilidad de recurrir a acciones no disponibles
Marca
- Utilice una identificación de remitente consistente
- Incluir el logotipo de la marca cuando corresponda.
- Mantener la voz y el tono de la marca.
- Garantizar la coherencia visual.
Estado de entrega
RCS proporciona un seguimiento de entrega mejorado:
- Enviado: mensaje enviado al operador
- Entregado: mensaje entregado al dispositivo
- Leer: Mensaje abierto por el destinatario
- Error: la entrega falló, se activó el respaldo
Verifique el estado utilizando el punto final de estado.
Próximos pasos
- Mensajes de Viber - Mensajería enriquecida alternativa
- Mensajes SMS - Mensajería alternativa
- Verificar estado - Seguimiento de la entrega
- Estrategias de respaldo - Configurar respaldos