Join as read only channel

Is it possible to have a user join a channel but only have read permissions?

@kopias,

There isn’t any built in way to achieve this. That being said, you could utilize channel metadata to flag the users as read only, and then do a check when rendering that would prevent the user from sending. https://sendbird.com/docs/chat/v3/platform-api/guides/user-and-channel-metadata#2-create-a-channel-metadata

I’d love an example of how to restrict a user from sending a message in the Swift SDK. I’ve been trying for some time and everything I try has some layout issue or other if I start trying to mess with the message input.