disallowedGiftsSettings
Disallow the reception of specific gift types.
type tg.DisallowedGiftsSettings struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
DisallowUnlimitedStargifts | bool | — | Disallow the reception of gifts with an unlimited supply (those with the starGift limited flag not set). |
DisallowLimitedStargifts | bool | — | Disallow the reception of limited-supply gifts (those with the starGift.limited flag set). |
DisallowUniqueStargifts | bool | — | Disallow the reception of collectible gifts ». |
DisallowPremiumGifts | bool | — | Disallow the reception of gifted Telegram Premium subscriptions ». |
DisallowStargiftsFromChannels | bool | — | Disallow the reception of gifts sent by channels. |
References
- Official documentation
- Generated Go reference
- TL definition:
disallowedGiftsSettings#71f276c4