vonage users create `
--name='Alice'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Alice
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
Swift
Create the Users
Each participant in a Conversation is represented by a User object and must be authenticated by the Client SDK. In a production application, you would typically store this user information in a database.
Execute the following commands to create two users, Alice and Bob who will log in to the Vonage Client and participate in the Conversation.
vonage users create ^
--name='Alice'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Alice
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
vonage users create \ --name='Alice' ✅ Creating User User ID: USR-00000000-0000-0000-0000-000000000000 Name: Alice Display Name: Not Set Image URL: Not Set Time to Live: Not Set Channels: None Set
vonage users create `
--name='Bob'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Bob
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
vonage users create ^
--name='Bob'
✅ Creating User
User ID: USR-00000000-0000-0000-0000-000000000000
Name: Bob
Display Name: Not Set
Image URL: Not Set
Time to Live: Not Set
Channels:
None Set
vonage users create \ --name='Bob' ✅ Creating User User ID: USR-00000000-0000-0000-0000-000000000000 Name: Bob Display Name: Not Set Image URL: Not Set Time to Live: Not Set Channels: None Set
Creating an iOS chat app
Create a iOS application that enables users to message each other
手順
1
Introduction to this task2
Prerequisites3
Create a Vonage Application4
Create a conversation5
Create the users6
Generate JWTs7
Xcode Project and Workspace8
Building the log in interface9
VGChatClient10
Building the chat interface11
Chat events12
Sending a message13
What's next?