Skip to main content

boost

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

type tg.Boost struct { /* ... */ }

Fields​

NameTypeRequiredDescription
Giftbool—Whether this boost was applied because the channel/supergroup directly gifted a subscription to the user.
Giveawaybool—Whether this boost was applied because the user was chosen in a giveaway started by the channel/supergroup.
Unclaimedbool—If set, the user hasn't yet invoked payments.applyGiftCode to claim a subscription gifted directly or in a giveaway by the channel.
IDstringyesUnique ID for this set of boosts.
UserIDint64—ID of the user that applied the boost.
GiveawayMsgIDint—The message ID of the giveaway
DateintyesWhen was the boost applied
ExpiresintyesWhen does the boost expire
UsedGiftSlugstring—The 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.
Multiplierint—If set, this boost counts as multiplier boosts, otherwise it counts as a single boost.
Starsint64—Number of Telegram Stars distributed among the winners of the giveaway.

References​