Tourmaline::GiveawayCompleted
Inherits JSON::Serializable < Reference < Object
This object represents a service message about the completion of a giveaway without public winners.
Constructors
new(pull : JSON::PullParser)
Sourcenew(winner_count : Int32 | Int64, unclaimed_prize_count : Int32 | Int64 | Nil = nil, giveaway_message : Tourmaline::Message | Nil = nil, is_star_giveaway : Bool | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Optional. Message with the giveaway that was completed, if it wasn't deleted
Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.
is_star_giveaway?
Optional. True, if the giveaway is a Telegram Star giveaway. Otherwise, currently, the giveaway is a Telegram Premium giveaway.
Optional. Number of undistributed prizes