My requirement is forbid some participants not to send messages in conversation? how to achieve that?
I created a role as below and attached roleid to the coversation participant. So how to validate the participant not to send message in this conversation ?
{ "sid": "RL1XX", "type": "CONVERSATION", "permissions": [ "leaveConversation" ], "url": "https://conversations.twilio.com/v1/Roles/RLXX", "accountSid": "ACXX", "chatServiceSid": "ISXX", "friendlyName": "patient_basic", "dateCreated": 1675238559.000000000, "dateUpdated": 1675238559.000000000 }
How to implement role validations in twilio conversations?