Boost

class pyrogram.types.Boost

Represents a channel boost.

Parameters:
  • id (str) – Unique identifier of the boost.

  • user (User, optional) – The user who boosted (if not from a giveaway).

  • date (datetime) – When the boost was applied.

  • expires (datetime) – When the boost expires.

  • giveaway_message_id (int, optional) – For giveaway boosts: the giveaway message ID.

  • stars (int, optional) – For Telegram Stars boosts: amount of stars used.

  • multiplier (int, optional) – Boost multiplier (for Telegram Premium users).

  • is_gift (bool, optional) – Whether this boost was a gift.

  • is_giveaway (bool, optional) – Whether this boost is from a giveaway.

  • is_unclaimed (bool, optional) – Whether this giveaway boost was unclaimed.