Class: TD::Types::PrepaidPremiumGiveaway
- Defined in:
- lib/tdlib/types/prepaid_premium_giveaway.rb
Overview
Describes a prepaid Telegram Premium giveaway.
Instance Attribute Summary collapse
-
#id ⇒ Integer
Unique identifier of the prepaid giveaway.
-
#month_count ⇒ Integer
Number of months the Telegram Premium subscription will be active after code activation.
-
#payment_date ⇒ Integer
Point in time (Unix timestamp) when the giveaway was paid.
-
#winner_count ⇒ Integer
Number of users which will receive Telegram Premium subscription gift codes.
Method Summary
Methods inherited from Base
Instance Attribute Details
#id ⇒ Integer
Unique identifier of the prepaid giveaway.
9 10 11 |
# File 'lib/tdlib/types/prepaid_premium_giveaway.rb', line 9 def id @id end |
#month_count ⇒ Integer
Number of months the Telegram Premium subscription will be active after code activation.
9 10 11 |
# File 'lib/tdlib/types/prepaid_premium_giveaway.rb', line 9 def month_count @month_count end |
#payment_date ⇒ Integer
Point in time (Unix timestamp) when the giveaway was paid.
9 10 11 |
# File 'lib/tdlib/types/prepaid_premium_giveaway.rb', line 9 def payment_date @payment_date end |
#winner_count ⇒ Integer
Number of users which will receive Telegram Premium subscription gift codes.
9 10 11 |
# File 'lib/tdlib/types/prepaid_premium_giveaway.rb', line 9 def winner_count @winner_count end |