/ SDKs / .NET
SDKs
Chat SDKs .NET v4
Chat SDKs .NET
Chat SDKs
.NET
Version 4

Retrieve a list of muted users

Copy link

You can create a query to retrieve a list of muted users in both open and group channels. Only users registered as channel operators may use the following code.

SbMutedUserListQueryParams queryParams = new SbMutedUserListQueryParams();
SbMutedUserListQuery query = channel.CreateMutedUserListQuery(queryParams);

query.LoadNextPage((inUsers, inError) =>
{
    if (inError != null)
    {
        return; // Handle error.
    }
});