DisallowedGiftsSettings
- class pyrogram.raw.base.DisallowedGiftsSettings
Disallow the reception of specific gift types.
- Constructors:
This base type has 1 constructor available.
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_stargifts →
true (optional)├── disallow_limited_stargifts →
true (optional)├── disallow_unique_stargifts →
true (optional)├── disallow_premium_gifts →
true (optional)└── disallow_stargifts_from_channels →
true (optional)Example
DisallowedGiftsSettings(
disallow_unlimited_stargifts=None,
disallow_limited_stargifts=None,
disallow_unique_stargifts=None,
disallow_premium_gifts=None,
disallow_stargifts_from_channels=None,
)