Sendbird Chat SDK for Unity
SbUnreadMessageCount

Class holding unread message count information of current user. More...

Public Member Functions

int GetUnreadCount (string inCustomType)
 Gets unread message count for specific customType. More...
 

Properties

int GroupChannelCount [get]
 Gets the subscribed total number of unread message of all GroupChannels the current user has joined. More...
 
int FeedChannelCount [get]
 Gets the subscribed total number of unread message of all FeedChannels the current user has joined. More...
 
int TotalCountByCustomTypes [get]
 Gets the total number of unread message with subscribed custom type. More...
 
IReadOnlyDictionary< string, int > CustomTypeUnreadCountMap [get]
 Gets the number of unread message with subscribed custom type. More...
 

Detailed Description

Class holding unread message count information of current user.

Since
4.0.0

Member Function Documentation

◆ GetUnreadCount()

int GetUnreadCount ( string  inCustomType)

Gets unread message count for specific customType.

Parameters
inCustomType
Returns
Since
4.0.0

Property Documentation

◆ CustomTypeUnreadCountMap

IReadOnlyDictionary<string, int> CustomTypeUnreadCountMap
get

Gets the number of unread message with subscribed custom type.

Since
4.0.0

◆ FeedChannelCount

int FeedChannelCount
get

Gets the subscribed total number of unread message of all FeedChannels the current user has joined.

Since
4.0.0

◆ GroupChannelCount

int GroupChannelCount
get

Gets the subscribed total number of unread message of all GroupChannels the current user has joined.

Since
4.0.0

◆ TotalCountByCustomTypes

int TotalCountByCustomTypes
get

Gets the total number of unread message with subscribed custom type.

Since
4.0.0