Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase, official apps only.
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
payments.canPurchasePremium#9fc19eb6 purpose:InputStorePaymentPurpose = Bool;
Name | Type | Description |
---|---|---|
purpose | InputStorePaymentPurpose | Payment purpose |