UpdateChatOnlineMemberCount constructor

const UpdateChatOnlineMemberCount({
  1. required int chatId,
  2. required int onlineMemberCount,
  3. dynamic extra,
  4. int? clientId,
})

The number of online group members has changed. This update with non-zero count is sent only for currently opened chats. There is no guarantee that it will be sent just after the count has changed

Implementation

const UpdateChatOnlineMemberCount({
  required this.chatId,
  required this.onlineMemberCount,
  this.extra,
  this.clientId,
});