disallowedGiftsSettings
Signature
Section titled “Signature”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;Result type
Section titled “Result type”DisallowedGiftsSettings
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| disallow_unlimited_stargifts | flags.0?true | flags.0 | — | |
| disallow_limited_stargifts | flags.1?true | flags.1 | — | |
| disallow_unique_stargifts | flags.2?true | flags.2 | — | |
| disallow_premium_gifts | flags.3?true | flags.3 | — | |
| disallow_stargifts_from_channels | flags.4?true | flags.4 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| disallow_unlimited_stargifts | 0 | Controlled by flags; present when this bit is set. |
| disallow_limited_stargifts | 1 | Controlled by flags; present when this bit is set. |
| disallow_unique_stargifts | 2 | Controlled by flags; present when this bit is set. |
| disallow_premium_gifts | 3 | Controlled by flags; present when this bit is set. |
| disallow_stargifts_from_channels | 4 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import DisallowedGiftsSettingsPublic access: miniproto.raw.types.DisallowedGiftsSettings.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
DisallowedGiftsSettings - Accepted by:
globalPrivacySettings,userFull