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

Retrieve number of unread messages in all group channels

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