telegram api constructor · layer 229 · #4b3e14d6

boost

Info about one or more boosts applied by a specific user.

definition

boost#4b3e14d6 flags:# gift:flags.1?true giveaway:flags.2?true unclaimed:flags.3?true id:string user_id:flags.0?long giveaway_msg_id:flags.2?int date:int expires:int used_gift_slug:flags.4?string multiplier:flags.5?int stars:flags.6?long = Boost;

parameters

nametypedescription
flags#Flags, see TL conditional fields
giftflags.1?trueWhether this boost was applied because the channel/supergroup directly gifted a subscription to the user.
giveawayflags.2?trueWhether this boost was applied because the user was chosen in a giveaway started by the channel/supergroup.
unclaimedflags.3?trueIf set, the user hasn't yet invoked payments.applyGiftCode to claim a subscription gifted directly or in a giveaway by the channel.
idstringUnique ID for this set of boosts.
user_idflags.0?longID of the user that applied the boost.
giveaway_msg_idflags.2?intThe message ID of the giveaway
dateintWhen was the boost applied
expiresintWhen does the boost expire
used_gift_slugflags.4?stringThe created Telegram Premium gift code, only set if either gift or giveaway are set AND it is either a gift code for the currently logged in user or if it was already claimed.
multiplierflags.5?intIf set, this boost counts as multiplier boosts, otherwise it counts as a single boost.
starsflags.6?longNumber of Telegram Stars distributed among the winners of the giveaway.

type

Boost

history

present in layers 166–229 · constructor id changed 1×

idlayers
#2a1c8c71166–186
#4b3e14d6187–229