USER_GIFT_UNAVAILABLE
Gifts are not available in the current region (stars_gifts_enabled is equal to false).
Error details
Section titled “Error details”- code: 400
- parameterized: no
- mapped methods:
payments.canPurchasePremium(unavailable in this API snapshot),payments.getStarsGiftOptions
Python error class
Section titled “Python error class”from miniproto.errors import UserGiftUnavailablePublic access: miniproto.errors.UserGiftUnavailable.