Kotlin

Criar uma conversa

Crie o Conversa que os usuários utilizarão para se comunicarem entre si. Substitua o ID do aplicativo da Vonage no comando abaixo:

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
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

Anote esse ID de conversa recém-gerado (CON-...). Você vai usá-lo mais tarde para adicionar Usuários para o Conversa como Membros.