aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/generate/scheme/td_api.tl
diff options
context:
space:
mode:
Diffstat (limited to 'td/generate/scheme/td_api.tl')
-rw-r--r--td/generate/scheme/td_api.tl8
1 files changed, 8 insertions, 0 deletions
diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl
index 41b980d8e..80401949e 100644
--- a/td/generate/scheme/td_api.tl
+++ b/td/generate/scheme/td_api.tl
@@ -10991,6 +10991,14 @@ updateNewCustomEvent event:string = Update;
//@description A new incoming query; for bots only @id The query identifier @data JSON-serialized query data @timeout Query timeout
updateNewCustomQuery id:int64 data:string timeout:int32 = Update;
+//@description Subscription of a user to the bot was changed; for bots only
+//@user_id Identifier of the user
+//@payload Bot-specified subscription invoice payload
+//@is_canceled True, if the subscription was canceled
+//@is_restored True, if the subscription was restored
+//@is_payment_failed True, if the payment for the subscription has failed
+updateUserSubscription user_id:int53 payload:string is_canceled:Bool is_restored:Bool is_payment_failed:Bool = Update;
+
//@description A poll was updated; for bots only @poll New data about the poll
updatePoll poll:poll = Update;