Skip to content

Commit 326272b

Browse files
committed
feat(schema): update Telegram to the latest layer
1 parent 1477385 commit 326272b

14 files changed

+1218
-127
lines changed

_schema/tdesktop.tl

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Code generated by ./cmd/dltl, DO NOT EDIT.
22
//
33
// Source: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/api.tl
4-
// Layer: 198
5-
// SHA256: 96d5d03b4fdd27bbc0f1d80e88d10306e590d8fec2d5bbdb0cf268be5e9e1aa6
4+
// Layer: 199
5+
// SHA256: 0fe747dde89fdae0ca56903a634fe21dddaeab71929f9f5de2c796cc13d9c497
66

77
boolFalse#bc799737 = Bool;
88

@@ -752,7 +752,7 @@ updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;
752752

753753
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
754754

755-
updatePaidReactionPrivacy#51ca7aec private:Bool = Update;
755+
updatePaidReactionPrivacy#8b725fce private:PaidReactionPrivacy = Update;
756756

757757
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
758758

@@ -1026,7 +1026,7 @@ webPageEmpty#211a1788 flags:# id:long url:flags.0?string = WebPage;
10261026

10271027
webPagePending#b0d13e47 flags:# id:long url:flags.0?string date:int = WebPage;
10281028

1029-
webPage#e89c45b2 flags:# has_large_media:flags.13?true id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector<WebPageAttribute> = WebPage;
1029+
webPage#e89c45b2 flags:# has_large_media:flags.13?true video_cover_photo:flags.14?true id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector<WebPageAttribute> = WebPage;
10301030

10311031
webPageNotModified#7311ca11 flags:# cached_page_views:flags.0?int = WebPage;
10321032

@@ -2740,7 +2740,7 @@ starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_u
27402740

27412741
starGift#2cc73c8 flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int upgrade_stars:flags.3?long = StarGift;
27422742

2743-
starGiftUnique#f2fe7e4a flags:# id:long title:string slug:string num:int owner_id:flags.0?Peer owner_name:flags.1?string owner_address:flags.2?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int = StarGift;
2743+
starGiftUnique#5c62d151 flags:# id:long title:string slug:string num:int owner_id:flags.0?Peer owner_name:flags.1?string owner_address:flags.2?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int gift_address:flags.3?string = StarGift;
27442744

27452745
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
27462746

@@ -2806,6 +2806,12 @@ inputSavedStarGiftChat#f101aa7f peer:InputPeer saved_id:long = InputSavedStarGif
28062806

28072807
payments.starGiftWithdrawalUrl#84aa3a9c url:string = payments.StarGiftWithdrawalUrl;
28082808

2809+
paidReactionPrivacyDefault#206ad49e = PaidReactionPrivacy;
2810+
2811+
paidReactionPrivacyAnonymous#1f0c1ad9 = PaidReactionPrivacy;
2812+
2813+
paidReactionPrivacyPeer#dc6cfcf0 peer:InputPeer = PaidReactionPrivacy;
2814+
28092815

28102816
---functions---
28112817

@@ -2829,6 +2835,8 @@ invokeWithGooglePlayIntegrity#1df92984 {X:Type} nonce:string token:string query:
28292835

28302836
invokeWithApnsSecret#dae54f8 {X:Type} nonce:string secret:string query:!X = X;
28312837

2838+
invokeWithReCaptcha#adbb0f94 {X:Type} token:string query:!X = X;
2839+
28322840
auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode;
28332841

28342842
auth.signUp#aac7b717 flags:# no_joined_notifications:flags.0?true phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization;
@@ -3589,9 +3597,9 @@ messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector<int> = Vector<FactCh
35893597

35903598
messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
35913599

3592-
messages.sendPaidReaction#9dd6a67b flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?Bool = Updates;
3600+
messages.sendPaidReaction#58bbcb50 flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?PaidReactionPrivacy = Updates;
35933601

3594-
messages.togglePaidReactionPrivacy#849ad397 peer:InputPeer msg_id:int private:Bool = Bool;
3602+
messages.togglePaidReactionPrivacy#435885b5 peer:InputPeer msg_id:int private:PaidReactionPrivacy = Bool;
35953603

35963604
messages.getPaidReactionPrivacy#472455aa = Updates;
35973605

@@ -3763,7 +3771,7 @@ channels.getInactiveChannels#11e831ee = messages.InactiveChats;
37633771

37643772
channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;
37653773

3766-
channels.getSendAs#dc770ee peer:InputPeer = channels.SendAsPeers;
3774+
channels.getSendAs#e785a43f flags:# for_paid_reactions:flags.0?true peer:InputPeer = channels.SendAsPeers;
37673775

37683776
channels.deleteParticipantHistory#367544db channel:InputChannel participant:InputPeer = messages.AffectedHistory;
37693777

@@ -4187,4 +4195,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool;
41874195

41884196
fragment.getCollectibleInfo#be1e85ba collectible:InputCollectible = fragment.CollectibleInfo;
41894197

4190-
// LAYER 198
4198+
// LAYER 199

_schema/telegram.tl

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
//
33
// Source: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/api.tl
44
// Merge: _schema/legacy.tl
5-
// Layer: 198
6-
// SHA256: 96d5d03b4fdd27bbc0f1d80e88d10306e590d8fec2d5bbdb0cf268be5e9e1aa6
5+
// Layer: 199
6+
// SHA256: 0fe747dde89fdae0ca56903a634fe21dddaeab71929f9f5de2c796cc13d9c497
77

88
boolFalse#bc799737 = Bool;
99

@@ -753,7 +753,7 @@ updateStarsRevenueStatus#a584b019 peer:Peer status:StarsRevenueStatus = Update;
753753

754754
updateBotPurchasedPaidMedia#283bd312 user_id:long payload:string qts:int = Update;
755755

756-
updatePaidReactionPrivacy#51ca7aec private:Bool = Update;
756+
updatePaidReactionPrivacy#8b725fce private:PaidReactionPrivacy = Update;
757757

758758
updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;
759759

@@ -1027,7 +1027,7 @@ webPageEmpty#211a1788 flags:# id:long url:flags.0?string = WebPage;
10271027

10281028
webPagePending#b0d13e47 flags:# id:long url:flags.0?string date:int = WebPage;
10291029

1030-
webPage#e89c45b2 flags:# has_large_media:flags.13?true id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector<WebPageAttribute> = WebPage;
1030+
webPage#e89c45b2 flags:# has_large_media:flags.13?true video_cover_photo:flags.14?true id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector<WebPageAttribute> = WebPage;
10311031

10321032
webPageNotModified#7311ca11 flags:# cached_page_views:flags.0?int = WebPage;
10331033

@@ -2741,7 +2741,7 @@ starsGiveawayWinnersOption#54236209 flags:# default:flags.0?true users:int per_u
27412741

27422742
starGift#2cc73c8 flags:# limited:flags.0?true sold_out:flags.1?true birthday:flags.2?true id:long sticker:Document stars:long availability_remains:flags.0?int availability_total:flags.0?int convert_stars:long first_sale_date:flags.1?int last_sale_date:flags.1?int upgrade_stars:flags.3?long = StarGift;
27432743

2744-
starGiftUnique#f2fe7e4a flags:# id:long title:string slug:string num:int owner_id:flags.0?Peer owner_name:flags.1?string owner_address:flags.2?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int = StarGift;
2744+
starGiftUnique#5c62d151 flags:# id:long title:string slug:string num:int owner_id:flags.0?Peer owner_name:flags.1?string owner_address:flags.2?string attributes:Vector<StarGiftAttribute> availability_issued:int availability_total:int gift_address:flags.3?string = StarGift;
27452745

27462746
payments.starGiftsNotModified#a388a368 = payments.StarGifts;
27472747

@@ -2807,6 +2807,12 @@ inputSavedStarGiftChat#f101aa7f peer:InputPeer saved_id:long = InputSavedStarGif
28072807

28082808
payments.starGiftWithdrawalUrl#84aa3a9c url:string = payments.StarGiftWithdrawalUrl;
28092809

2810+
paidReactionPrivacyDefault#206ad49e = PaidReactionPrivacy;
2811+
2812+
paidReactionPrivacyAnonymous#1f0c1ad9 = PaidReactionPrivacy;
2813+
2814+
paidReactionPrivacyPeer#dc6cfcf0 peer:InputPeer = PaidReactionPrivacy;
2815+
28102816

28112817
---functions---
28122818

@@ -2830,6 +2836,8 @@ invokeWithGooglePlayIntegrity#1df92984 {X:Type} nonce:string token:string query:
28302836

28312837
invokeWithApnsSecret#dae54f8 {X:Type} nonce:string secret:string query:!X = X;
28322838

2839+
invokeWithReCaptcha#adbb0f94 {X:Type} token:string query:!X = X;
2840+
28332841
auth.sendCode#a677244f phone_number:string api_id:int api_hash:string settings:CodeSettings = auth.SentCode;
28342842

28352843
auth.signUp#aac7b717 flags:# no_joined_notifications:flags.0?true phone_number:string phone_code_hash:string first_name:string last_name:string = auth.Authorization;
@@ -3590,9 +3598,9 @@ messages.getFactCheck#b9cdc5ee peer:InputPeer msg_id:Vector<int> = Vector<FactCh
35903598

35913599
messages.requestMainWebView#c9e01e7b flags:# compact:flags.7?true fullscreen:flags.8?true peer:InputPeer bot:InputUser start_param:flags.1?string theme_params:flags.0?DataJSON platform:string = WebViewResult;
35923600

3593-
messages.sendPaidReaction#9dd6a67b flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?Bool = Updates;
3601+
messages.sendPaidReaction#58bbcb50 flags:# peer:InputPeer msg_id:int count:int random_id:long private:flags.0?PaidReactionPrivacy = Updates;
35943602

3595-
messages.togglePaidReactionPrivacy#849ad397 peer:InputPeer msg_id:int private:Bool = Bool;
3603+
messages.togglePaidReactionPrivacy#435885b5 peer:InputPeer msg_id:int private:PaidReactionPrivacy = Bool;
35963604

35973605
messages.getPaidReactionPrivacy#472455aa = Updates;
35983606

@@ -3764,7 +3772,7 @@ channels.getInactiveChannels#11e831ee = messages.InactiveChats;
37643772

37653773
channels.convertToGigagroup#b290c69 channel:InputChannel = Updates;
37663774

3767-
channels.getSendAs#dc770ee peer:InputPeer = channels.SendAsPeers;
3775+
channels.getSendAs#e785a43f flags:# for_paid_reactions:flags.0?true peer:InputPeer = channels.SendAsPeers;
37683776

37693777
channels.deleteParticipantHistory#367544db channel:InputChannel participant:InputPeer = messages.AffectedHistory;
37703778

@@ -4220,4 +4228,4 @@ test.useError#ee75af01 = Error;
42204228

42214229
test.useConfigSimple#f9b7b23d = help.ConfigSimple;
42224230

4223-
// LAYER 198
4231+
// LAYER 199

tg/tl_channels_get_send_as_gen.go

Lines changed: 65 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)