disallowedGiftsSettings

Disallow the reception of specific gift types.

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 = DisallowedGiftsSettings;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
disallow_unlimited_stargifts flags.0?true Disallow the reception of gifts with an unlimited supply (those with the starGift.limited flag not set).
disallow_limited_stargifts flags.1?true Disallow the reception of limited-supply gifts (those with the starGift.limited flag set).
disallow_unique_stargifts flags.2?true Disallow the reception of collectible gifts ».
disallow_premium_gifts flags.3?true Disallow the reception of gifted Telegram Premium subscriptions ».

Type

DisallowedGiftsSettings

Related pages

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.