Skip to content

Commit

Permalink
Merge pull request #1202 from gotd/feat/update-schema
Browse files Browse the repository at this point in the history
Update Telegram schema to the latest layer
  • Loading branch information
ernado authored Sep 29, 2023
2 parents e4a4c64 + c929a4e commit 6fc0f96
Show file tree
Hide file tree
Showing 9 changed files with 384 additions and 44 deletions.
6 changes: 3 additions & 3 deletions _schema/layer.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/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/layer.tl
// Layer: 164
// SHA256: afad7b84b167df8c1ae10baceb4c995a05669ddc2f3b0faaef09b434192da87e
// Layer: 165
// SHA256: 36b1cc02020b7961dbbce32a3b05ecc9409c447b0b202854a07c47676c665fa9

// LAYER 164
// LAYER 165
8 changes: 5 additions & 3 deletions _schema/tdesktop.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/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/api.tl
// SHA256: 6e8d27f2272e93ffe7a7890e57b6a5aef7b36687850bc4e3a1388582fc22e633
// SHA256: 7bbf14403a05d0a385f4338ebfb196a278521b7f7e90881be20091de11ccd8ab

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -2301,7 +2301,7 @@ peerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector<St

stories.peerStories#cae68768 stories:PeerStories chats:Vector<Chat> users:Vector<User> = stories.PeerStories;

stories.boostsStatus#66ea1fef flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue = stories.BoostsStatus;
stories.boostsStatus#e5c1aa5c flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue boost_url:string = stories.BoostsStatus;

stories.canApplyBoostOk#c3173587 = stories.CanApplyBoostResult;

Expand All @@ -2311,6 +2311,8 @@ booster#e9e6380 user_id:long expires:int = Booster;

stories.boostersList#f3dd3d1d flags:# count:int boosters:Vector<Booster> next_offset:flags.0?string users:Vector<User> = stories.BoostersList;

messages.webPage#fd5e12bd webpage:WebPage chats:Vector<Chat> users:Vector<User> = messages.WebPage;


---functions---

Expand Down Expand Up @@ -2756,7 +2758,7 @@ messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:Inpu

messages.getCommonChats#e40ca104 user_id:InputUser max_id:long limit:int = messages.Chats;

messages.getWebPage#32ca8f91 url:string hash:int = WebPage;
messages.getWebPage#8d9692a3 url:string hash:int = messages.WebPage;

messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool;

Expand Down
12 changes: 7 additions & 5 deletions _schema/telegram.tl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
//
// Source: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/api.tl
// Merge: _schema/legacy.tl,_schema/layer.tl
// Layer: 164
// SHA256: 6e8d27f2272e93ffe7a7890e57b6a5aef7b36687850bc4e3a1388582fc22e633
// Layer: 165
// SHA256: 7bbf14403a05d0a385f4338ebfb196a278521b7f7e90881be20091de11ccd8ab

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -2303,7 +2303,7 @@ peerStories#9a35e999 flags:# peer:Peer max_read_id:flags.0?int stories:Vector<St

stories.peerStories#cae68768 stories:PeerStories chats:Vector<Chat> users:Vector<User> = stories.PeerStories;

stories.boostsStatus#66ea1fef flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue = stories.BoostsStatus;
stories.boostsStatus#e5c1aa5c flags:# my_boost:flags.2?true level:int current_level_boosts:int boosts:int next_level_boosts:flags.0?int premium_audience:flags.1?StatsPercentValue boost_url:string = stories.BoostsStatus;

stories.canApplyBoostOk#c3173587 = stories.CanApplyBoostResult;

Expand All @@ -2313,6 +2313,8 @@ booster#e9e6380 user_id:long expires:int = Booster;

stories.boostersList#f3dd3d1d flags:# count:int boosters:Vector<Booster> next_offset:flags.0?string users:Vector<User> = stories.BoostersList;

messages.webPage#fd5e12bd webpage:WebPage chats:Vector<Chat> users:Vector<User> = messages.WebPage;


---functions---

Expand Down Expand Up @@ -2758,7 +2760,7 @@ messages.getInlineGameHighScores#f635e1b id:InputBotInlineMessageID user_id:Inpu

messages.getCommonChats#e40ca104 user_id:InputUser max_id:long limit:int = messages.Chats;

messages.getWebPage#32ca8f91 url:string hash:int = WebPage;
messages.getWebPage#8d9692a3 url:string hash:int = messages.WebPage;

messages.toggleDialogPin#a731e257 flags:# pinned:flags.0?true peer:InputDialogPeer = Bool;

Expand Down Expand Up @@ -3436,4 +3438,4 @@ test.useError#ee75af01 = Error;

test.useConfigSimple#f9b7b23d = help.ConfigSimple;

// LAYER 164
// LAYER 165
26 changes: 13 additions & 13 deletions tg/tl_messages_get_web_page_gen.go

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

Loading

0 comments on commit 6fc0f96

Please sign in to comment.