Class: TD::Types::ChatInviteLinkInfo
- Defined in:
- lib/tdlib/types/chat_invite_link_info.rb
Overview
Contains information about a chat invite link.
Instance Attribute Summary collapse
-
#chat_id ⇒ Integer
Chat identifier of the invite link; 0 if the user is not a member of this chat.
-
#is_public ⇒ Boolean
True, if the chat is a public supergroup or channel, i.e.
-
#member_count ⇒ Integer
Number of members.
-
#member_user_ids ⇒ Array<Integer>
User identifiers of some chat members that may be known to the current user.
-
#photo ⇒ TD::Types::ChatPhoto?
Chat photo; may be null.
-
#title ⇒ String
Title of the chat.
-
#type ⇒ TD::Types::ChatType
Contains information about the type of the chat.
Method Summary
Methods inherited from Base
Instance Attribute Details
#chat_id ⇒ Integer
Chat identifier of the invite link; 0 if the user is not a member of this chat.
12 13 14 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12 def chat_id @chat_id end |
#is_public ⇒ Boolean
True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup.
12 13 14 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12 def is_public @is_public end |
#member_count ⇒ Integer
Number of members.
12 13 14 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12 def member_count @member_count end |
#member_user_ids ⇒ Array<Integer>
User identifiers of some chat members that may be known to the current user.
12 13 14 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12 def member_user_ids @member_user_ids end |
#photo ⇒ TD::Types::ChatPhoto?
Chat photo; may be null.
12 13 14 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12 def photo @photo end |
#title ⇒ String
Title of the chat.
12 13 14 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12 def title @title end |
#type ⇒ TD::Types::ChatType
Contains information about the type of the chat.
12 13 14 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 12 def type @type end |