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 number of online group members is sent only for currently opened chats.. There is no guarantee that it will be sent just after the number of online users has changed

Implementation

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