telegram api constructor · layer 229 · #71f276c4
disallowedGiftsSettings
Disallow the reception of specific gift types.
definition
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;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
disallow_unlimited_stargifts | true | Disallow the reception of gifts with an unlimited supply (those with the starGift.limited flag not set). |
disallow_limited_stargifts | true | Disallow the reception of limited-supply gifts (those with the starGift.limited flag set). |
disallow_unique_stargifts | true | Disallow the reception of collectible gifts ». |
disallow_premium_gifts | true | Disallow the reception of gifted Telegram Premium subscriptions ». |
disallow_stargifts_from_channels | true |
type
history
present in layers 201–229
| id | layers |
|---|---|
| #71f276c4 | 201–229 |