DisallowedGiftsSettings#

class pyrogram.raw.types.DisallowedGiftsSettings#

Disallow the reception of specific gift types.

Constructor of DisallowedGiftsSettings.

Details:
  • Layer: 220

  • ID: 71F276C4

Parameters:
  • disallow_unlimited_stargifts (bool, optional) – Disallow the reception of gifts with an unlimited supply (those with the starGift.limited flag not set).

  • disallow_limited_stargifts (bool, optional) – Disallow the reception of limited-supply gifts (those with the starGift.limited flag set).

  • 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) – N/A