Class: TD::Types::ChatInviteLinkSubscriptionInfo
- Defined in:
- lib/tdlib/types/chat_invite_link_subscription_info.rb
Overview
Contains information about subscription plan that must be paid by the user to use a chat invite link.
Instance Attribute Summary collapse
-
#can_reuse ⇒ Boolean
True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again.
-
#form_id ⇒ Integer
Identifier of the payment form to use for subscription payment; 0 if the subscription can’t be paid.
-
#pricing ⇒ TD::Types::StarSubscriptionPricing
Information about subscription plan that must be paid by the user to use the link.
Method Summary
Methods inherited from Base
Instance Attribute Details
#can_reuse ⇒ Boolean
True, if the user has already paid for the subscription and can use joinChatByInviteLink to join the subscribed chat again.
10 11 12 |
# File 'lib/tdlib/types/chat_invite_link_subscription_info.rb', line 10 def can_reuse @can_reuse end |
#form_id ⇒ Integer
Identifier of the payment form to use for subscription payment; 0 if the subscription can’t be paid.
10 11 12 |
# File 'lib/tdlib/types/chat_invite_link_subscription_info.rb', line 10 def form_id @form_id end |
#pricing ⇒ TD::Types::StarSubscriptionPricing
Information about subscription plan that must be paid by the user to use the link.
10 11 12 |
# File 'lib/tdlib/types/chat_invite_link_subscription_info.rb', line 10 def pricing @pricing end |