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

nametypedescription
flags#Flags, see TL conditional fields
disallow_unlimited_stargiftsflags.0?trueDisallow the reception of gifts with an unlimited supply (those with the starGift.limited flag not set).
disallow_limited_stargiftsflags.1?trueDisallow the reception of limited-supply gifts (those with the starGift.limited flag set).
disallow_unique_stargiftsflags.2?trueDisallow the reception of collectible gifts ».
disallow_premium_giftsflags.3?trueDisallow the reception of gifted Telegram Premium subscriptions ».
disallow_stargifts_from_channelsflags.4?true

type

DisallowedGiftsSettings

history

present in layers 201–229

idlayers
#71f276c4201–229