Telegram::ChatBoostSourceGiveaway
Inherits JSON::Serializable < Struct < Value < Object
Telegram API type: ChatBoostSourceGiveaway The boost was obtained by the creation of a Telegram Premium or a Telegram Star giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription for Telegram Premium giveaways and prize_star_count / 500 times for one year for Telegram Star giveaways.
Constructors
new(source : String, giveaway_message_id : Int64, user : User | Nil = nil, prize_star_count : Int64 | Nil = nil, is_unclaimed : Bool | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
clone
Sourcecopy_with(source _source = @source, giveaway_message_id _giveaway_message_id = @giveaway_message_id, user _user = @user, prize_star_count _prize_star_count = @prize_star_count, is_unclaimed _is_unclaimed = @is_unclaimed)
Sourcegiveaway_message_id
is_unclaimed
prize_star_count
source
user