payments.canPurchasePremium

Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase, official apps only.

 Method schema is available as of layer 144. Switch ยป

Parameters

Name Type Description
purpose InputStorePaymentPurpose Payment purpose

Result

Bool