vonage conversations create `
--name='your_conversation'
✅ Fetching conversation
Name: your_conversation
Conversation ID: CON-00000000-0000-0000-0000-000000000000
Display Name: Not Set
Image URL: Not Set
State: ACTIVE
Time to Leave: Not Set
Created at: 08/29/1997, 02:14:00 AM
Updated at: Not Set
Destroyed at: Not Set
Sequence: 0
Media State:
Earmuffed: ❌ No
Muted: ❌ No
Playing Stream: ❌ No
Recording: ❌ No
Transcribing: ❌ No
Text To Speech: ❌ No
Kotlin
Crear una conversación
Crear el Conversación que los usuarios utilizarán para comunicarse entre sí. Reemplaza el ID de aplicación de Vonage en el siguiente comando:
vonage conversations create ^
--name='your_conversation'
✅ Fetching conversation
Name: your_conversation
Conversation ID: CON-00000000-0000-0000-0000-000000000000
Display Name: Not Set
Image URL: Not Set
State: ACTIVE
Time to Leave: Not Set
Created at: 08/29/1997, 02:14:00 AM
Updated at: Not Set
Destroyed at: Not Set
Sequence: 0
Media State:
Earmuffed: ❌ No
Muted: ❌ No
Playing Stream: ❌ No
Recording: ❌ No
Transcribing: ❌ No
Text To Speech: ❌ No
vonage conversations create \ --name='your_conversation' ✅ Fetching conversation Name: your_conversation Conversation ID: CON-00000000-0000-0000-0000-000000000000 Display Name: Not Set Image URL: Not Set State: ACTIVE Time to Leave: Not Set Created at: 08/29/1997, 02:14:00 AM Updated at: Not Set Destroyed at: Not Set Sequence: 0 Media State: Earmuffed: ❌ No Muted: ❌ No Playing Stream: ❌ No Recording: ❌ No Transcribing: ❌ No Text To Speech: ❌ No
Anota este nuevo Id de conversación generado (CON-...). Lo utilizará más tarde para añadir Usuarios a la Conversación como Miembros.
Crear una aplicación de chat para Android
Crea una aplicación Android que permita a los usuarios enviarse mensajes entre sí utilizando el Client SDK de Android y Kotlin.
Pasos
1
Introducción a esta tarea2
Prerequisites3
Crear una aplicación de Vonage4
Crear una conversación5
Crear los usuarios6
Generar JWT7
Crear un proyecto Android8
Creación de la interfaz de inicio de sesión9
ChatClient10
Construir la interfaz de chat11
Eventos de chat12
Enviar un mensaje13
¿Y ahora qué?