/ SDKs / Unity
SDKs
Chat SDKs Unity v4
Chat SDKs Unity
Chat SDKs
Unity
Version 4

Retrieve a list of operators

Copy link

You can follow the simple implementation below to retrieve a list of operators who monitor and control the activities in a group channel.

You can create an SbOperatorListQuery instance and use the LoadNextPage() method to retrieve a list of operators of a specific group channel.

SbOperatorListQueryParams queryParams = new SbOperatorListQueryParams();
SbOperatorListQuery query = groupChannel.CreateOperatorListQuery(queryParams);

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

List of properties

Copy link

This table only contains properties shown in the code above. To see the comprehensive list of all available methods and properties, see SbOperatorListQuery.

Property nameTypeDescription

Limit

int

Specifies the number of results to retrieve per page.