disallowedGiftsSettings #

Disallow the reception of specific gift types.

Layer 223

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?trueDisallow the reception of gifts sent by channels.

Type #

DisallowedGiftsSettings

starGift #

Represents a star gift, see here » for more info.

Telegram Gifts #

Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.