Skip to content

Commit

Permalink
Merge pull request #806 from gotd/feat/update-tdlib-schema
Browse files Browse the repository at this point in the history
Update TDLib schema to the latest layer
  • Loading branch information
ernado authored Jul 2, 2022
2 parents e365857 + 7135307 commit 3f769cd
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 23 deletions.
7 changes: 4 additions & 3 deletions _schema/tdapi.tl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Code generated by ./cmd/dltl, DO NOT EDIT.
//
// Source: https://raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/td_api.tl
// SHA256: 463938c26073a7761db63301975b9756e4f5f59c526ea41aba5b25fd0fd32216
// SHA256: d4434815410fc6d85cf434ad205b80ef212e25b3e93d1e348701c69c0d92f9b2

double#2210c154 ? = Double;

Expand Down Expand Up @@ -3741,7 +3741,7 @@ premiumLimit#7ed372e6 type:PremiumLimitType default_value:int32 premium_value:in
//@description Contains information about features, available to Premium users
//@features The list of available features
//@limits The list of limits, increased for Premium users
//@payment_link An internal link to be opened to pay for Telegram Premium if store payment isn't possible; may be null if direct payment isn't available. If the link has type internalLinkTypeBotStart, then sendBotStartMessage must be called automatically
//@payment_link An internal link to be opened to pay for Telegram Premium if store payment isn't possible; may be null if direct payment isn't available
premiumFeatures#4cf10e82 features:vector<PremiumFeature> limits:vector<premiumLimit> payment_link:InternalLinkType = PremiumFeatures;

//@class PremiumSource @description Describes a source from which the Premium features screen is opened
Expand Down Expand Up @@ -4457,7 +4457,8 @@ internalLinkTypeBackground#b0d2908 background_name:string = InternalLinkType;
//@description The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot,
//@bot_username Username of the bot
//@start_parameter The parameter to be passed to sendBotStartMessage
internalLinkTypeBotStart#b812d93d bot_username:string start_parameter:string = InternalLinkType;
//@autostart True, if sendBotStartMessage must be called automatically without showing the START button
internalLinkTypeBotStart#3f985fed bot_username:string start_parameter:string autostart:Bool = InternalLinkType;

//@description The link is a link to a Telegram bot, which is supposed to be added to a group chat. Call searchPublicChat with the given bot username, check that the user is a bot and can be added to groups,
//@bot_username Username of the bot
Expand Down
69 changes: 52 additions & 17 deletions tdapi/tl_internal_link_type_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions tdapi/tl_premium_features_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tdapi/tl_registry_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3f769cd

Please sign in to comment.