By following the simple implementation below, you can retrieve a list of operators who monitor activities and moderate participants in an open channel.
openChannel->GetChannel(CHANNEL_URL, [](SBDOpenChannel* channel, SBDError* error) {
if (error != nullptr) {
// Handle error.
return;
}
// Retrieving a list of operators.
for (SBDUser& user : channel->operators) {
// ...
}
});