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
Créer une conversation
Créer le Conversation que les utilisateurs utiliseront pour communiquer entre eux. Remplacez l'ID de l'application Vonage dans la commande ci-dessous :
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
Notez cet identifiant de conversation nouvellement généré (CON-...). Vous l'utiliserez plus tard pour ajouter Utilisateurs à la Conversation comme Les membres.
Créer une application de chat Android
Créer une application Android qui permet aux utilisateurs de s'envoyer des messages en utilisant le Client SDK Android et Kotlin.
Étapes
1
Introduction à cette tâche2
Prerequisites3
Créer une application Vonage4
Créer une conversation5
Créer les utilisateurs6
Générer des JWT7
Créer un projet Android8
Création de l'interface de connexion9
ChatClient10
Construire l'interface de chat11
Événements de chat12
Envoi d'un message13
Quelle est la prochaine étape ?