UpdateUnreadChatCount constructor

const UpdateUnreadChatCount({
  1. required ChatList chatList,
  2. required int totalCount,
  3. required int unreadCount,
  4. required int unreadUnmutedCount,
  5. required int markedAsUnreadCount,
  6. required int markedAsUnreadUnmutedCount,
  7. dynamic extra,
  8. int? clientId,
})

Number of unread chats, i.e. with unread messages or marked as unread, has changed. This update is sent only if the message database is used

Implementation

const UpdateUnreadChatCount({
  required this.chatList,
  required this.totalCount,
  required this.unreadCount,
  required this.unreadUnmutedCount,
  required this.markedAsUnreadCount,
  required this.markedAsUnreadUnmutedCount,
  this.extra,
  this.clientId,
});