check_authentication_premium_purchase


Description:

public async Ok check_authentication_premium_purchase (string currency, int64 amount) throws TDLibError

Checks whether an in-store purchase of Telegram Premium is possible before authorization. Works only when the current authorization state is authorizationStateWaitPremiumPurchase

Parameters:

currency

ISO 4217 currency code of the payment currency

amount

Paid amount, in the smallest units of the currency