Swift

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