diff --git a/data/web/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl b/data/web/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl index 99c925a111..9f88e8828f 100644 --- a/data/web/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl +++ b/data/web/raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl @@ -6403,6 +6403,9 @@ clickPremiumSubscriptionButton = Ok; //@description Returns state of Telegram Premium subscription and promotion videos for Premium features getPremiumState = PremiumState; +//@description Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase +canPurchasePremium = Ok; + //@description Accepts Telegram terms of services @terms_of_service_id Terms of service identifier acceptTermsOfService terms_of_service_id:string = Ok;