Reputation: 1
I've been developing a chat feature for our Android and iOS apps using the Twilio Programmable Chat, but I cannot find the option to create and add a person to the new channel, without having the other user to accept the invitation first.
Is there an easy way to just create and automatically accept the invitation, like WhatsApp?
Upvotes: 0
Views: 292
Reputation: 73029
Twilio developer evangelist here.
Invitations are a user level way of bringing other users into a channel, which is why they are exposed in the SDK.
If you just want to add a member to a channel without the invitation, you can do so via the REST API Members resource. There is no need to accept an invitation, the member is created straight away.
Upvotes: 3