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
-
#accent_color_id ⇒ Integer
Identifier of the accent color for chat title and background of chat photo.
-
#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.
-
#creates_join_request ⇒ Boolean
True, if the link only creates join request.
-
#description ⇒ TD::Types::String
Chat description.
-
#is_fake ⇒ Boolean
True, if many users reported this chat as a fake account.
-
#is_public ⇒ Boolean
True, if the chat is a public supergroup or channel, i.e.
-
#is_scam ⇒ Boolean
True, if many users reported this chat as a scam.
-
#is_verified ⇒ Boolean
True, if the chat is verified.
-
#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.
-
#subscription_info ⇒ TD::Types::ChatInviteLinkSubscriptionInfo?
Information about subscription plan that must be paid by the user to use the link; may be null if the link doesn’t require subscription.
-
#title ⇒ TD::Types::String
Title of the chat.
-
#type ⇒ TD::Types::InviteLinkChatType
Type of the chat.
Method Summary
Methods inherited from Base
Instance Attribute Details
#accent_color_id ⇒ Integer
Identifier of the accent color for chat title and background of chat photo.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def accent_color_id @accent_color_id end |
#accessible_for ⇒ Integer
If non-zero, the amount of time for which read access to the chat will remain available, in seconds.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 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.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def chat_id @chat_id end |
#creates_join_request ⇒ Boolean
True, if the link only creates join request.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def creates_join_request @creates_join_request end |
#description ⇒ TD::Types::String
Chat description.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def description @description end |
#is_fake ⇒ Boolean
True, if many users reported this chat as a fake account.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def is_fake @is_fake 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.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def is_public @is_public end |
#is_scam ⇒ Boolean
True, if many users reported this chat as a scam.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def is_scam @is_scam end |
#is_verified ⇒ Boolean
True, if the chat is verified.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def is_verified @is_verified end |
#member_count ⇒ Integer
Number of members in the chat.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 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.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def member_user_ids @member_user_ids end |
#photo ⇒ TD::Types::ChatPhotoInfo?
Chat photo; may be null.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def photo @photo end |
#subscription_info ⇒ TD::Types::ChatInviteLinkSubscriptionInfo?
Information about subscription plan that must be paid by the user to use the link; may be null if the link doesn’t require subscription.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def subscription_info @subscription_info end |
#title ⇒ TD::Types::String
Title of the chat.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def title @title end |
#type ⇒ TD::Types::InviteLinkChatType
Type of the chat.
22 23 24 |
# File 'lib/tdlib/types/chat_invite_link_info.rb', line 22 def type @type end |