library / io.getstream.chat.android.livedata.usecase / GetTotalUnreadCount / invoke

invoke

abstract operator fun invoke(): Call2<LiveData<Int>>

Returns the total unread messages count for the current user. You might also be interested in GetUnreadChannelCount Or ChannelController.unreadCount

Return
A call object with LiveData as the return type

See Also

io.getstream.chat.android.livedata.usecase.GetUnreadChannelCount

io.getstream.chat.android.livedata.controller.ChannelController.unreadCount