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. Only users registered as channel operators may use the following code.

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