Class: TD::Types::Update::ChatOnlineMemberCount

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/chat_online_member_count.rb

Overview

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 is sent just after the number of online users has changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Identifier of the chat.



8
9
10
# File 'lib/tdlib/types/update/chat_online_member_count.rb', line 8

def chat_id
  @chat_id
end

#online_member_countInteger

New number of online members in the chat, or 0 if unknown.



8
9
10
# File 'lib/tdlib/types/update/chat_online_member_count.rb', line 8

def online_member_count
  @online_member_count
end