/ SDKs / Unreal
SDKs
Chat SDKs Unreal v3
Chat SDKs Unreal
Chat SDKs
Unreal
Version 3

Retrieve a list of participants

Copy link

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;
    }
});