AcceptedGiftTypes

class pyrogram.types.AcceptedGiftTypes

Accepts gift types.

Parameters:
  • unlimited_gifts (bool, optional) – TTrue, if unlimited regular gifts are accepted.

  • limited_gifts (bool, optional) – True, if limited regular gifts are accepted.

  • upgraded_gifts (bool, optional) – True, if upgraded gifts and regular gifts that can be upgraded for free are accepted.

  • gifts_from_channels (bool, optional) – True, if gifts from channels are accepted subject to other restrictions.

  • premium_subscription (bool, optional) – True, if Telegram Premium subscription is accepted.