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
-
#accessible_for ⇒ Integer
If non-zero, the amount of time for which read access to the chat will remain available, in seconds.
-
#chat_id ⇒ Integer
Chat identifier of the invite link; 0 if the user has no access to the chat before joining.
-
#is_public ⇒ Boolean
True, if the chat is a public supergroup or channel, i.e.
-
#member_count ⇒ Integer
Number of members in the chat.
-
#member_user_ids ⇒ Array<Integer>
User identifiers of some chat members that may be known to the current user.
-
#photo ⇒ TD::Types::ChatPhotoInfo?
Chat photo; may be null.
-
#title ⇒ TD::Types::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
#accessible_for ⇒ Integer
If non-zero, the amount of time for which read access to the chat will remain available, in seconds.
14 15 16 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14 def accessible_for @accessible_for end |
#chat_id ⇒ Integer
Chat identifier of the invite link; 0 if the user has no access to the chat before joining.
14 15 16 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14 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.
14 15 16 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14 def is_public @is_public end |
#member_count ⇒ Integer
Number of members in the chat.
14 15 16 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14 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.
14 15 16 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14 def member_user_ids @member_user_ids end |
#photo ⇒ TD::Types::ChatPhotoInfo?
Chat photo; may be null.
14 15 16 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14 def photo @photo end |
#title ⇒ TD::Types::String
Title of the chat.
14 15 16 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14 def title @title end |
#type ⇒ TD::Types::ChatType
Contains information about the type of the chat.
14 15 16 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 14 def type @type end |