Chat / JavaScript
Chat JavaScript v4
Chat JavaScript
Chat
JavaScript
Home
/
Chat
/
JavaScript
/
User
This is the new Docs for Chat SDK v4 for JavaScript. To see the previous Docs, click here.

Retrieve a list of muted users

You can create a query to get a list of muted users in both open and group channels. This query is only available for users who are registered as channel operators.

Open channelGroup channel
const query = openChannel.createMutedUserListQuery();
const mutedUsers = await query.next();