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

Retrieve number of unread messages in all group channels

Copy link

By following the implementation below, you can retrieve the total number of a user's unread messages in all joined group channels.

SBDMain::GetTotalUnreadMessageCount(SBDGroupChannelTotalUnreadMessageCountParams(), [](int total_unread_message_count, SBDError* error) {
    if (error != nullptr) {
        // Handle error.
        return;
    }
});