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
Create a Conversation
Create the Conversation that Users will use to communicate with each other. Replace the Vonage Application ID in the command below:
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
Make a note of this newly generated conversation Id (CON-...). You will use it later to add Users to the Conversation as Members.
Creating an Android chat app
Create a Android application that enables users to message each other using the Android Client SDK and Kotlin.
手順
1
Introduction to this task2
Prerequisites3
Create a Vonage Application4
Create a conversation5
Create the users6
Generate JWTs7
Create an Android project8
Building the log in interface9
ChatClient10
Building the chat interface11
Chat events12
Sending a message13
What's next?