Skip to content

Commit

Permalink
feat(schema): update Telegram to the latest layer
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 17, 2024
1 parent a423eb6 commit b6bedb4
Show file tree
Hide file tree
Showing 20 changed files with 2,230 additions and 44 deletions.
24 changes: 19 additions & 5 deletions _schema/tdesktop.tl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Code generated by ./cmd/dltl, DO NOT EDIT.
//
// Source: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/api.tl
// Layer: 170
// SHA256: 8b65a10c0b08104a5e6db51a611e61bc23c6d57d13888de4c941bd251a180e3c
// Layer: 171
// SHA256: 1f6f4c8d13f73d5649ebf26977e0d30503b477db6b95cde88661839c2ee666f8

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -700,6 +700,8 @@ updateSavedDialogPinned#aeaf9e74 flags:# pinned:flags.0?true peer:DialogPeer = U

updatePinnedSavedDialogs#686c85a6 flags:# order:flags.0?Vector<DialogPeer> = Update;

updateSavedReactionTags#39c67432 = Update;

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

updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
Expand Down Expand Up @@ -2076,7 +2078,7 @@ auth.loggedOut#c3a2835f flags:# future_auth_token:flags.0?bytes = auth.LoggedOut

reactionCount#a3d1cb80 flags:# chosen_order:flags.0?int reaction:Reaction count:int = ReactionCount;

messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> = MessageReactions;
messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true reactions_as_tags:flags.3?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> = MessageReactions;

messages.messageReactionsList#31bd492d flags:# count:int reactions:Vector<MessagePeerReaction> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.MessageReactionsList;

Expand Down Expand Up @@ -2416,6 +2418,12 @@ messages.savedDialogsSlice#44ba9dd9 count:int dialogs:Vector<SavedDialog> messag

messages.savedDialogsNotModified#c01f6fe8 count:int = messages.SavedDialogs;

savedReactionTag#cb6ff828 flags:# reaction:Reaction title:flags.0?string count:int = SavedReactionTag;

messages.savedReactionTagsNotModified#889b59ef = messages.SavedReactionTags;

messages.savedReactionTags#3259950a tags:Vector<SavedReactionTag> hash:long = messages.SavedReactionTags;


---functions---

Expand Down Expand Up @@ -2723,7 +2731,7 @@ messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags

messages.getHistory#4423e6c5 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;

messages.search#a7b4e929 flags:# peer:InputPeer q:string from_id:flags.0?InputPeer saved_peer_id:flags.2?InputPeer top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
messages.search#29ee847a flags:# peer:InputPeer q:string from_id:flags.0?InputPeer saved_peer_id:flags.2?InputPeer saved_reaction:flags.3?Vector<Reaction> top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;

messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;

Expand Down Expand Up @@ -3105,6 +3113,12 @@ messages.toggleSavedDialogPin#ac81bbde flags:# pinned:flags.0?true peer:InputDia

messages.reorderPinnedSavedDialogs#8b716587 flags:# force:flags.0?true order:Vector<InputDialogPeer> = Bool;

messages.getSavedReactionTags#761ddacf hash:long = messages.SavedReactionTags;

messages.updateSavedReactionTag#60297dec flags:# reaction:Reaction title:flags.0?string = Bool;

messages.getDefaultTagReactions#bdf93428 hash:long = messages.Reactions;

updates.getState#edd4882a = updates.State;

updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
Expand Down Expand Up @@ -3557,4 +3571,4 @@ premium.getBoostsStatus#42f1f61 peer:InputPeer = premium.BoostsStatus;

premium.getUserBoosts#39854d1f peer:InputPeer user_id:InputUser = premium.BoostsList;

// LAYER 170
// LAYER 171
24 changes: 19 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
// Layer: 170
// SHA256: 8b65a10c0b08104a5e6db51a611e61bc23c6d57d13888de4c941bd251a180e3c
// Layer: 171
// SHA256: 1f6f4c8d13f73d5649ebf26977e0d30503b477db6b95cde88661839c2ee666f8

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -701,6 +701,8 @@ updateSavedDialogPinned#aeaf9e74 flags:# pinned:flags.0?true peer:DialogPeer = U

updatePinnedSavedDialogs#686c85a6 flags:# order:flags.0?Vector<DialogPeer> = Update;

updateSavedReactionTags#39c67432 = Update;

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

updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
Expand Down Expand Up @@ -2077,7 +2079,7 @@ auth.loggedOut#c3a2835f flags:# future_auth_token:flags.0?bytes = auth.LoggedOut

reactionCount#a3d1cb80 flags:# chosen_order:flags.0?int reaction:Reaction count:int = ReactionCount;

messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> = MessageReactions;
messageReactions#4f2b9479 flags:# min:flags.0?true can_see_list:flags.2?true reactions_as_tags:flags.3?true results:Vector<ReactionCount> recent_reactions:flags.1?Vector<MessagePeerReaction> = MessageReactions;

messages.messageReactionsList#31bd492d flags:# count:int reactions:Vector<MessagePeerReaction> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.MessageReactionsList;

Expand Down Expand Up @@ -2417,6 +2419,12 @@ messages.savedDialogsSlice#44ba9dd9 count:int dialogs:Vector<SavedDialog> messag

messages.savedDialogsNotModified#c01f6fe8 count:int = messages.SavedDialogs;

savedReactionTag#cb6ff828 flags:# reaction:Reaction title:flags.0?string count:int = SavedReactionTag;

messages.savedReactionTagsNotModified#889b59ef = messages.SavedReactionTags;

messages.savedReactionTags#3259950a tags:Vector<SavedReactionTag> hash:long = messages.SavedReactionTags;


---functions---

Expand Down Expand Up @@ -2724,7 +2732,7 @@ messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags

messages.getHistory#4423e6c5 peer:InputPeer offset_id:int offset_date:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;

messages.search#a7b4e929 flags:# peer:InputPeer q:string from_id:flags.0?InputPeer saved_peer_id:flags.2?InputPeer top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;
messages.search#29ee847a flags:# peer:InputPeer q:string from_id:flags.0?InputPeer saved_peer_id:flags.2?InputPeer saved_reaction:flags.3?Vector<Reaction> top_msg_id:flags.1?int filter:MessagesFilter min_date:int max_date:int offset_id:int add_offset:int limit:int max_id:int min_id:int hash:long = messages.Messages;

messages.readHistory#e306d3a peer:InputPeer max_id:int = messages.AffectedMessages;

Expand Down Expand Up @@ -3106,6 +3114,12 @@ messages.toggleSavedDialogPin#ac81bbde flags:# pinned:flags.0?true peer:InputDia

messages.reorderPinnedSavedDialogs#8b716587 flags:# force:flags.0?true order:Vector<InputDialogPeer> = Bool;

messages.getSavedReactionTags#761ddacf hash:long = messages.SavedReactionTags;

messages.updateSavedReactionTag#60297dec flags:# reaction:Reaction title:flags.0?string = Bool;

messages.getDefaultTagReactions#bdf93428 hash:long = messages.Reactions;

updates.getState#edd4882a = updates.State;

updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
Expand Down Expand Up @@ -3590,4 +3604,4 @@ test.useError#ee75af01 = Error;

test.useConfigSimple#f9b7b23d = help.ConfigSimple;

// LAYER 170
// LAYER 171
168 changes: 168 additions & 0 deletions telegram/query/cached/queries.gen.go

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

7 changes: 7 additions & 0 deletions telegram/query/messages/queries.gen.go

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

10 changes: 10 additions & 0 deletions tg/tl_handlers_gen.go

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

Loading

0 comments on commit b6bedb4

Please sign in to comment.