Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Telegram schema to the latest layer #1177

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 161
// SHA256: 387225445aaf027e5e5740865d658538ea0e6b0ab7bf2614e27573791d1fe805
// Layer: 162
// SHA256: 2ec2d6c95e8c4cccd15e284391ff502223bfbd733eb6e9f9b20d5ddbb2ea80f7

// LAYER 161
// LAYER 162
16 changes: 12 additions & 4 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: b874f1afb7b3a142b7f536eb021400b422b30d8ac668137d21080d47a0af1562
// SHA256: 042e13775257f716afcf769e5e4006bf5c487e3086342a13d3bc72f6fd2a4fde

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -253,7 +253,7 @@ messageActionScreenshotTaken#4792929b = MessageAction;

messageActionCustomAction#fae69f56 message:string = MessageAction;

messageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true domain:flags.0?string app:flags.2?BotApp = MessageAction;
messageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true from_request:flags.3?true domain:flags.0?string app:flags.2?BotApp = MessageAction;

messageActionSecureValuesSentMe#1b287353 values:Vector<SecureValue> credentials:SecureCredentialsEncrypted = MessageAction;

Expand Down Expand Up @@ -949,7 +949,7 @@ chatInvitePublicJoinRequests#ed107ab7 = ExportedChatInvite;

chatInviteAlready#5a686d7c chat:Chat = ChatInvite;

chatInvite#300c44c1 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector<User> = ChatInvite;
chatInvite#300c44c1 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true verified:flags.7?true scam:flags.8?true fake:flags.9?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector<User> = ChatInvite;

chatInvitePeek#61695cb0 chat:Chat expires:int = ChatInvite;

Expand Down Expand Up @@ -2257,7 +2257,7 @@ messagePeerVoteMultiple#4628f6e6 peer:Peer options:Vector<bytes> date:int = Mess

sponsoredWebPage#3db8ec63 flags:# url:string site_name:string photo:flags.0?Photo = SponsoredWebPage;

storyViews#c64c0b97 flags:# views_count:int reactions_count:int recent_viewers:flags.0?Vector<long> = StoryViews;
storyViews#c64c0b97 flags:# has_viewers:flags.1?true views_count:int reactions_count:int recent_viewers:flags.0?Vector<long> = StoryViews;

storyItemDeleted#51e6ee4f id:int = StoryItem;

Expand Down Expand Up @@ -3184,6 +3184,12 @@ bots.reorderUsernames#9709b1c2 bot:InputUser order:Vector<string> = Bool;

bots.toggleUsername#53ca973 bot:InputUser username:string active:Bool = Bool;

bots.canSendMessage#1359f4e6 bot:InputUser = Bool;

bots.allowSendMessage#f132e3ef bot:InputUser = Updates;

bots.invokeWebViewCustomMethod#87fc5e7 bot:InputUser custom_method:string params:DataJSON = DataJSON;

payments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm;

payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
Expand Down Expand Up @@ -3332,6 +3338,8 @@ chatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlist = Vector<P

chatlists.leaveChatlist#74fae13a chatlist:InputChatlist peers:Vector<InputPeer> = Updates;

stories.canSendStory#b100d45d = Bool;

stories.sendStory#d455fcec flags:# pinned:flags.2?true noforwards:flags.4?true media:InputMedia media_areas:flags.5?Vector<MediaArea> caption:flags.0?string entities:flags.1?Vector<MessageEntity> privacy_rules:Vector<InputPrivacyRule> random_id:long period:flags.3?int = Updates;

stories.editStory#a9b91ae4 flags:# id:int media:flags.0?InputMedia media_areas:flags.3?Vector<MediaArea> caption:flags.1?string entities:flags.1?Vector<MessageEntity> privacy_rules:flags.2?Vector<InputPrivacyRule> = Updates;
Expand Down
20 changes: 14 additions & 6 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: 161
// SHA256: b874f1afb7b3a142b7f536eb021400b422b30d8ac668137d21080d47a0af1562
// Layer: 162
// SHA256: 042e13775257f716afcf769e5e4006bf5c487e3086342a13d3bc72f6fd2a4fde

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -255,7 +255,7 @@ messageActionScreenshotTaken#4792929b = MessageAction;

messageActionCustomAction#fae69f56 message:string = MessageAction;

messageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true domain:flags.0?string app:flags.2?BotApp = MessageAction;
messageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true from_request:flags.3?true domain:flags.0?string app:flags.2?BotApp = MessageAction;

messageActionSecureValuesSentMe#1b287353 values:Vector<SecureValue> credentials:SecureCredentialsEncrypted = MessageAction;

Expand Down Expand Up @@ -951,7 +951,7 @@ chatInvitePublicJoinRequests#ed107ab7 = ExportedChatInvite;

chatInviteAlready#5a686d7c chat:Chat = ChatInvite;

chatInvite#300c44c1 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector<User> = ChatInvite;
chatInvite#300c44c1 flags:# channel:flags.0?true broadcast:flags.1?true public:flags.2?true megagroup:flags.3?true request_needed:flags.6?true verified:flags.7?true scam:flags.8?true fake:flags.9?true title:string about:flags.5?string photo:Photo participants_count:int participants:flags.4?Vector<User> = ChatInvite;

chatInvitePeek#61695cb0 chat:Chat expires:int = ChatInvite;

Expand Down Expand Up @@ -2259,7 +2259,7 @@ messagePeerVoteMultiple#4628f6e6 peer:Peer options:Vector<bytes> date:int = Mess

sponsoredWebPage#3db8ec63 flags:# url:string site_name:string photo:flags.0?Photo = SponsoredWebPage;

storyViews#c64c0b97 flags:# views_count:int reactions_count:int recent_viewers:flags.0?Vector<long> = StoryViews;
storyViews#c64c0b97 flags:# has_viewers:flags.1?true views_count:int reactions_count:int recent_viewers:flags.0?Vector<long> = StoryViews;

storyItemDeleted#51e6ee4f id:int = StoryItem;

Expand Down Expand Up @@ -3186,6 +3186,12 @@ bots.reorderUsernames#9709b1c2 bot:InputUser order:Vector<string> = Bool;

bots.toggleUsername#53ca973 bot:InputUser username:string active:Bool = Bool;

bots.canSendMessage#1359f4e6 bot:InputUser = Bool;

bots.allowSendMessage#f132e3ef bot:InputUser = Updates;

bots.invokeWebViewCustomMethod#87fc5e7 bot:InputUser custom_method:string params:DataJSON = DataJSON;

payments.getPaymentForm#37148dbb flags:# invoice:InputInvoice theme_params:flags.0?DataJSON = payments.PaymentForm;

payments.getPaymentReceipt#2478d1cc peer:InputPeer msg_id:int = payments.PaymentReceipt;
Expand Down Expand Up @@ -3334,6 +3340,8 @@ chatlists.getLeaveChatlistSuggestions#fdbcd714 chatlist:InputChatlist = Vector<P

chatlists.leaveChatlist#74fae13a chatlist:InputChatlist peers:Vector<InputPeer> = Updates;

stories.canSendStory#b100d45d = Bool;

stories.sendStory#d455fcec flags:# pinned:flags.2?true noforwards:flags.4?true media:InputMedia media_areas:flags.5?Vector<MediaArea> caption:flags.0?string entities:flags.1?Vector<MessageEntity> privacy_rules:Vector<InputPrivacyRule> random_id:long period:flags.3?int = Updates;

stories.editStory#a9b91ae4 flags:# id:int media:flags.0?InputMedia media_areas:flags.3?Vector<MediaArea> caption:flags.1?string entities:flags.1?Vector<MessageEntity> privacy_rules:flags.2?Vector<InputPrivacyRule> = Updates;
Expand Down Expand Up @@ -3404,4 +3412,4 @@ test.useError#ee75af01 = Error;

test.useConfigSimple#f9b7b23d = help.ConfigSimple;

// LAYER 161
// LAYER 162
181 changes: 181 additions & 0 deletions tg/tl_bots_allow_send_message_gen.go

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

35 changes: 35 additions & 0 deletions tg/tl_bots_allow_send_message_slices_gen.go

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

Loading