Class: TD::Types::InternalLinkType::BuyStars
- Inherits:
-
TD::Types::InternalLinkType
- Object
- Dry::Struct
- Base
- TD::Types::InternalLinkType
- TD::Types::InternalLinkType::BuyStars
- Defined in:
- lib/tdlib/types/internal_link_type/buy_stars.rb
Overview
The link is a link to the Telegram Star purchase section of the application.
Instance Attribute Summary collapse
-
#purpose ⇒ TD::Types::String
Purpose of Telegram Star purchase.
-
#star_count ⇒ Integer
The number of Telegram Stars that must be owned by the user.
Method Summary
Methods inherited from Base
Instance Attribute Details
#purpose ⇒ TD::Types::String
Purpose of Telegram Star purchase. Arbitrary string specified by the server, for example, “subs” if the Telegram Stars are required to extend channel subscriptions.
8 9 10 |
# File 'lib/tdlib/types/internal_link_type/buy_stars.rb', line 8 def purpose @purpose end |
#star_count ⇒ Integer
The number of Telegram Stars that must be owned by the user.
8 9 10 |
# File 'lib/tdlib/types/internal_link_type/buy_stars.rb', line 8 def star_count @star_count end |