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 Sep 20, 2024
1 parent 794dac1 commit 0cef79f
Show file tree
Hide file tree
Showing 8 changed files with 512 additions and 85 deletions.
14 changes: 8 additions & 6 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: 187
// SHA256: 13e5ee643d6d776ab46f2cd1a21c9b274a4cb46106dea20770ebce90115e1e42
// Layer: 188
// SHA256: 89808bbed6042add7f7ed5bf49c07086c6e4b17e38744a4653d30865ab7eb3da

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -204,7 +204,7 @@ messageMediaContact#70322949 phone_number:string first_name:string last_name:str

messageMediaUnsupported#9f84f49e = MessageMedia;

messageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia;
messageMediaDocument#dd570bd5 flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_documents:flags.5?Vector<Document> ttl_seconds:flags.2?int = MessageMedia;

messageMediaWebPage#ddf10c3b flags:# force_large_media:flags.0?true force_small_media:flags.1?true manual:flags.3?true safe:flags.4?true webpage:WebPage = MessageMedia;

Expand Down Expand Up @@ -984,7 +984,7 @@ documentAttributeAnimated#11b58939 = DocumentAttribute;

documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute;

documentAttributeVideo#17399fad flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int video_start_ts:flags.4?double = DocumentAttribute;
documentAttributeVideo#43c57c48 flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int video_start_ts:flags.4?double video_codec:flags.5?string = DocumentAttribute;

documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;

Expand Down Expand Up @@ -1104,6 +1104,8 @@ keyboardButtonRequestPeer#53d7bfd8 text:string button_id:int peer_type:RequestPe

inputKeyboardButtonRequestPeer#c9662d05 flags:# name_requested:flags.0?true username_requested:flags.1?true photo_requested:flags.2?true text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton;

keyboardButtonCopy#75d2698e text:string copy_text:string = KeyboardButton;

keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;

replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;
Expand Down Expand Up @@ -3681,7 +3683,7 @@ channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int =

channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;

channels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool;
channels.clickSponsoredMessage#1445d75 flags:# media:flags.0?true fullscreen:flags.1?true channel:InputChannel random_id:bytes = Bool;

channels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates;

Expand Down Expand Up @@ -4023,4 +4025,4 @@ smsjobs.finishJob#4f1ebf24 flags:# job_id:string error:flags.0?string = Bool;

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

// LAYER 187
// LAYER 188
14 changes: 8 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
// Layer: 187
// SHA256: 13e5ee643d6d776ab46f2cd1a21c9b274a4cb46106dea20770ebce90115e1e42
// Layer: 188
// SHA256: 89808bbed6042add7f7ed5bf49c07086c6e4b17e38744a4653d30865ab7eb3da

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -205,7 +205,7 @@ messageMediaContact#70322949 phone_number:string first_name:string last_name:str

messageMediaUnsupported#9f84f49e = MessageMedia;

messageMediaDocument#4cf4d72d flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_document:flags.5?Document ttl_seconds:flags.2?int = MessageMedia;
messageMediaDocument#dd570bd5 flags:# nopremium:flags.3?true spoiler:flags.4?true video:flags.6?true round:flags.7?true voice:flags.8?true document:flags.0?Document alt_documents:flags.5?Vector<Document> ttl_seconds:flags.2?int = MessageMedia;

messageMediaWebPage#ddf10c3b flags:# force_large_media:flags.0?true force_small_media:flags.1?true manual:flags.3?true safe:flags.4?true webpage:WebPage = MessageMedia;

Expand Down Expand Up @@ -985,7 +985,7 @@ documentAttributeAnimated#11b58939 = DocumentAttribute;

documentAttributeSticker#6319d612 flags:# mask:flags.1?true alt:string stickerset:InputStickerSet mask_coords:flags.0?MaskCoords = DocumentAttribute;

documentAttributeVideo#17399fad flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int video_start_ts:flags.4?double = DocumentAttribute;
documentAttributeVideo#43c57c48 flags:# round_message:flags.0?true supports_streaming:flags.1?true nosound:flags.3?true duration:double w:int h:int preload_prefix_size:flags.2?int video_start_ts:flags.4?double video_codec:flags.5?string = DocumentAttribute;

documentAttributeAudio#9852f9c6 flags:# voice:flags.10?true duration:int title:flags.0?string performer:flags.1?string waveform:flags.2?bytes = DocumentAttribute;

Expand Down Expand Up @@ -1105,6 +1105,8 @@ keyboardButtonRequestPeer#53d7bfd8 text:string button_id:int peer_type:RequestPe

inputKeyboardButtonRequestPeer#c9662d05 flags:# name_requested:flags.0?true username_requested:flags.1?true photo_requested:flags.2?true text:string button_id:int peer_type:RequestPeerType max_quantity:int = KeyboardButton;

keyboardButtonCopy#75d2698e text:string copy_text:string = KeyboardButton;

keyboardButtonRow#77608b83 buttons:Vector<KeyboardButton> = KeyboardButtonRow;

replyKeyboardHide#a03e5b85 flags:# selective:flags.2?true = ReplyMarkup;
Expand Down Expand Up @@ -3682,7 +3684,7 @@ channels.reportAntiSpamFalsePositive#a850a693 channel:InputChannel msg_id:int =

channels.toggleParticipantsHidden#6a6e7854 channel:InputChannel enabled:Bool = Updates;

channels.clickSponsoredMessage#18afbc93 channel:InputChannel random_id:bytes = Bool;
channels.clickSponsoredMessage#1445d75 flags:# media:flags.0?true fullscreen:flags.1?true channel:InputChannel random_id:bytes = Bool;

channels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates;

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

test.useConfigSimple#f9b7b23d = help.ConfigSimple;

// LAYER 187
// LAYER 188
112 changes: 100 additions & 12 deletions tg/tl_channels_click_sponsored_message_gen.go

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

Loading

0 comments on commit 0cef79f

Please sign in to comment.