Constructor: disallowedGiftsSettings
Disallow the reception of specific gift types.
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| disallow_unlimited_stargifts | Bool | Optional | Disallow the reception of gifts with an unlimited supply (those with the starGift.limited flag not set). |
| disallow_limited_stargifts | Bool | Optional | Disallow the reception of limited-supply gifts (those with the starGift.limited flag set). |
| disallow_unique_stargifts | Bool | Optional | Disallow the reception of collectible gifts ». |
| disallow_premium_gifts | Bool | Optional | Disallow the reception of gifted Telegram Premium subscriptions ». |
| disallow_stargifts_from_channels | Bool | Optional |
Type: DisallowedGiftsSettings
Example:
$disallowedGiftsSettings = ['_' => 'disallowedGiftsSettings', 'disallow_unlimited_stargifts' => Bool, 'disallow_limited_stargifts' => Bool, 'disallow_unique_stargifts' => Bool, 'disallow_premium_gifts' => Bool, 'disallow_stargifts_from_channels' => Bool];