Class: TD::Types::InternalLinkType::PremiumGiftCode
- Inherits:
-
TD::Types::InternalLinkType
- Object
- Dry::Struct
- Base
- TD::Types::InternalLinkType
- TD::Types::InternalLinkType::PremiumGiftCode
- Defined in:
- lib/tdlib/types/internal_link_type/premium_gift_code.rb
Overview
The link is a link with a Telegram Premium gift code. Call checkPremiumGiftCode with the given code to process the link. If the code is valid and the user wants to apply it, then call applyPremiumGiftCode.
Instance Attribute Summary collapse
-
#code ⇒ TD::Types::String
The Telegram Premium gift code.
Method Summary
Methods inherited from Base
Instance Attribute Details
#code ⇒ TD::Types::String
The Telegram Premium gift code.
7 8 9 |
# File 'lib/tdlib/types/internal_link_type/premium_gift_code.rb', line 7 def code @code end |