Gift#

class pyrogram.types.Gift#

Describes a gift that can be sent to another user.

Parameters:
  • id (int) – Unique identifier of the gift.

  • sticker (Sticker) – The sticker representing the gift.

  • star_count (int) – Number of Telegram Stars that must be paid for the gift.

  • default_sell_star_count (int) – Number of Telegram Stars that can be claimed by the receiver instead of the gift by default. If the gift was paid with just bought Telegram Stars, then full value can be claimed.

  • remaining_count (int, optional) – Number of remaining times the gift can be purchased by all users; None if not limited or the gift was sold out.

  • total_count (int, optional) – Number of total times the gift can be purchased by all users; None if not limited.

  • is_limited (bool, optional) – True, if the number of gifts is limited.