struct

Telegram::GiveawayCompleted

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: GiveawayCompleted This object represents a service message about the completion of a giveaway without public winners.

Constructors

new(winner_count : Int64, unclaimed_prize_count : Int64 | Nil = nil, giveaway_message : Message | Nil = nil, is_star_giveaway : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(winner_count _winner_count = @winner_count, unclaimed_prize_count _unclaimed_prize_count = @unclaimed_prize_count, giveaway_message _giveaway_message = @giveaway_message, is_star_giveaway _is_star_giveaway = @is_star_giveaway)
Source
giveaway_message
is_star_giveaway
unclaimed_prize_count
winner_count