DisallowedGiftsSettings

class pyrogram.types.DisallowedGiftsSettings

Disallow the reception of specific gift types.

Parameters:
  • disallow_unlimited_stargifts (bool, optional) – Disallow the reception of gifts with an unlimited supply.

  • disallow_limited_stargifts (bool, optional) – Disallow the reception of limited-supply gifts.

  • disallow_unique_stargifts (bool, optional) – Disallow the reception of collectible gifts.

  • disallow_premium_gifts (bool, optional) – Disallow the reception of gifted Telegram Premium subscriptions.

  • disallow_stargifts_from_channels (bool, optional) – Disallow the reception of star gifts from channels.