Class: TD::Types::PushMessageContent::PremiumGiftCode
- Inherits:
-
TD::Types::PushMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::PushMessageContent
- TD::Types::PushMessageContent::PremiumGiftCode
- Defined in:
- lib/tdlib/types/push_message_content/premium_gift_code.rb
Overview
A message with a Telegram Premium gift code created for the user.
Instance Attribute Summary collapse
-
#month_count ⇒ Integer
Number of months the Telegram Premium subscription will be active after code activation.
Method Summary
Methods inherited from Base
Instance Attribute Details
#month_count ⇒ Integer
Number of months the Telegram Premium subscription will be active after code activation.
6 7 8 |
# File 'lib/tdlib/types/push_message_content/premium_gift_code.rb', line 6 def month_count @month_count end |