Swift

Eine Konversation schaffen

Erstellen Sie die Konversation die die Benutzer zur Kommunikation untereinander verwenden werden. Ersetzen Sie die Vonage Application ID in dem unten stehenden Befehl:

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

Notieren Sie sich diese neu erzeugte Konversations-ID (CON-...). Sie werden sie später verwenden, um Folgendes hinzuzufügen Benutzer zum Konversation als Mitglieder.