DisallowedGiftsSettings

class pyrogram.raw.base.DisallowedGiftsSettings

Disallow the reception of specific gift types.

Constructors:

This base type has 1 constructor available.

DisallowedGiftsSettings

Disallow the reception of specific gift types.

TL Schema

disallowedGiftsSettings#71f276c4
flags:#
disallow_unlimited_stargifts:flags.0?true
disallow_limited_stargifts:flags.1?true
disallow_unique_stargifts:flags.2?true
disallow_premium_gifts:flags.3?true
disallow_stargifts_from_channels:flags.4?true

= DisallowedGiftsSettings

Parameter Tree

DisallowedGiftsSettings
├── disallow_unlimited_stargiftstrue (optional)
├── disallow_limited_stargiftstrue (optional)
├── disallow_unique_stargiftstrue (optional)
├── disallow_premium_giftstrue (optional)
└── disallow_stargifts_from_channelstrue (optional)

Example

DisallowedGiftsSettings(
    disallow_unlimited_stargifts=None,
    disallow_limited_stargifts=None,
    disallow_unique_stargifts=None,
    disallow_premium_gifts=None,
    disallow_stargifts_from_channels=None,
)