From c5c4b54df1019d62d5cce621219d718734962384 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sat, 25 Jun 2022 06:43:25 +0000 Subject: [PATCH] Update content of files --- .../tdlib/td/master/td/generate/scheme/td_api.tl | 6 ++++++ 1 file changed, 6 insertions(+) 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 9f88e8828f..17ebb5280a 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 @@ -6406,6 +6406,12 @@ getPremiumState = PremiumState; //@description Checks whether Telegram Premium purchase is possible. Must be called before in-store Premium purchase canPurchasePremium = Ok; +//@description Informs server about a Telegram Premium purchase through App Store. For official applications only @receipt App Store receipt @is_restore True, if this is restore of Premium purchase +assignAppStoreTransaction receipt:bytes is_restore:Bool = Ok; + +//@description Informs server about a Telegram Premium purchase through Google Play. For official applications only @purchase_token Google Play purchase token +assignGooglePlayTransaction purchase_token:string = Ok; + //@description Accepts Telegram terms of services @terms_of_service_id Terms of service identifier acceptTermsOfService terms_of_service_id:string = Ok;