Class: TD::Types::PremiumGiveawayInfo::Ongoing
- Inherits:
-
TD::Types::PremiumGiveawayInfo
- Object
- Dry::Struct
- Base
- TD::Types::PremiumGiveawayInfo
- TD::Types::PremiumGiveawayInfo::Ongoing
- Defined in:
- lib/tdlib/types/premium_giveaway_info/ongoing.rb
Overview
Describes an ongoing giveaway.
Instance Attribute Summary collapse
-
#creation_date ⇒ Integer
Point in time (Unix timestamp) when the giveaway was created.
-
#is_ended ⇒ Boolean
True, if the giveaway has ended and results are being prepared.
-
#status ⇒ TD::Types::PremiumGiveawayParticipantStatus
Status of the current user in the giveaway.
Method Summary
Methods inherited from Base
Instance Attribute Details
#creation_date ⇒ Integer
Point in time (Unix timestamp) when the giveaway was created.
7 8 9 |
# File 'lib/tdlib/types/premium_giveaway_info/ongoing.rb', line 7 def creation_date @creation_date end |
#is_ended ⇒ Boolean
True, if the giveaway has ended and results are being prepared.
7 8 9 |
# File 'lib/tdlib/types/premium_giveaway_info/ongoing.rb', line 7 def is_ended @is_ended end |
#status ⇒ TD::Types::PremiumGiveawayParticipantStatus
Status of the current user in the giveaway.
7 8 9 |
# File 'lib/tdlib/types/premium_giveaway_info/ongoing.rb', line 7 def status @status end |