Our requirements are:
Users
or Participants
in terms of Twilio).Conversations
in Twilio).Not exactly, but somewhat similar to the below screenshot:
I have already gone through:
But did not find a way to 1. List available users 2. Add multiple participants at a time.
I also found User Resource
link:
Read Multiple Conversation User Resources but not really sure if there is any better way to achieve what we are looking for.
Twilio developer evangelist here.
While there is a User object within the Conversations API, the objects are only created after a user in your application connects to a Conversations SDK (that is, you created an access token for them and they then successfully used that access token to connect to the Conversations Service within your application).
I would recommend that you manage your application's users yourself within your app and list them from your own store of them.
There is, as far as I can see, no way to add more than one participant to a conversation at a time. You will need to loop through the users you want to add as participants and add them each individually.