ChatBoost¶
- class pyrogram.types.ChatBoost¶
Contains information about one or more boosts applied by a specific user.
- Parameters:
id (
str) – Unique identifier for this set of boosts.date (
datetime) – Date the boost was applied.expire_date (
datetime) – Point in time when the boost will expire.multiplier (
int) – If set, this boost counts as multiplier boosts, otherwise it counts as a single boost.from_user (
User, optional) – The user that that applied the boost.is_gift (
bool, optional) – Whether this boost was applied because the channel/supergroup directly gifted a subscription to the user.is_giveaway (
bool, optional) – Whether this boost was applied because the user was chosen in a giveaway started by the channel/supergroup.is_unclaimed (
bool, optional) – If set, the user hasn’t yet invokedapply_gift_code()to claim a subscription gifted directly or in a giveaway by the channel.giveaway_message_id (
int, optional) – The message identifier of the giveaway.used_gift_slug (
str, optional) – 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.stars (
int, optional) – Stars amount.