Chat / Unreal
Current version: v3
Chat Unreal v3
Chat Unreal
Chat
Unreal
Home
/
Chat
/
Unreal
/
Users

Retrieve a list of participants

By using the CreateParticipantListQuery() method, you can retrieve a list of participants who are currently online and receiving all messages from an open channel.

SBDUserListQuery* query = openChannel->CreateParticipantListQuery();

query->LoadNextPage([](const vector<SBDUser>& users, SBDError* error) {
    if (error != nullptr) {
        // Handle error.
        return;
    }
});