/ SDKs / JavaScript
SDKs
Chat SDKs JavaScript v4
Chat SDKs JavaScript
Chat SDKs
JavaScript
Version 4

Retrieve a list of muted users

Copy link

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.

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