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 #706

Merged
merged 1 commit into from Feb 28, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 25 additions & 7 deletions _schema/tdesktop.tl
@@ -1,8 +1,8 @@
// Code generated by ./cmd/dltl, DO NOT EDIT.
//
// Source: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/Resources/tl/api.tl
// Layer: 138
// SHA256: e4394d689aae7a56d9b81f444df7f182ec54f5b8eb2a0289a7ef9b19cfecabff
// Layer: 139
// SHA256: 80cbdbe9df4d7a9dda681537ce4ae739567051782b9fb4237d3cab78c1d70384

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -338,6 +338,10 @@ inputReportReasonGeoIrrelevant#dbd4feed = ReportReason;

inputReportReasonFake#f5ddd6e7 = ReportReason;

inputReportReasonIllegalDrugs#a8eb2be = ReportReason;

inputReportReasonPersonalDetails#9ec7863d = ReportReason;

userFull#cf366521 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true id:long about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string = UserFull;

contact#145ade0b user_id:long mutual:Bool = Contact;
Expand Down Expand Up @@ -878,7 +882,7 @@ inputStickerSetDice#e67f520e emoticon:string = InputStickerSet;

inputStickerSetAnimatedEmojiAnimations#cde3739 = InputStickerSet;

stickerSet#d7df217a flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true gifs:flags.6?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int count:int hash:int = StickerSet;
stickerSet#d7df217a flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int count:int hash:int = StickerSet;

messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;

Expand Down Expand Up @@ -1800,7 +1804,7 @@ stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats;

groupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall;

groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;
groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true rtmp_stream:flags.12?true listeners_hidden:flags.13?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;

inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall;

Expand Down Expand Up @@ -1910,6 +1914,12 @@ messages.translateResultText#a214f7d0 text:string = messages.TranslatedText;

messagePeerReaction#51b67eff flags:# big:flags.0?true unread:flags.1?true peer_id:Peer reaction:string = MessagePeerReaction;

groupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;

phone.groupCallStreamChannels#d0e482b2 channels:Vector<GroupCallStreamChannel> = phone.GroupCallStreamChannels;

phone.groupCallStreamRtmpUrl#2dbf3432 url:string key:string = phone.GroupCallStreamRtmpUrl;


---functions---

Expand Down Expand Up @@ -2157,6 +2167,8 @@ contacts.getLocated#d348bc44 flags:# background:flags.1?true geo_point:InputGeoP

contacts.blockFromReplies#29a8962c flags:# delete_message:flags.0?true delete_history:flags.1?true report_spam:flags.2?true msg_id:int = Updates;

contacts.resolvePhone#8af94344 phone:string = contacts.ResolvedPeer;

messages.getMessages#63c66506 id:Vector<InputMessage> = messages.Messages;

messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs;
Expand Down Expand Up @@ -2473,6 +2485,8 @@ messages.getUnreadReactions#e85bae1a peer:InputPeer offset_id:int add_offset:int

messages.readReactions#82e251d7 peer:InputPeer = messages.AffectedHistory;

messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages.Messages;

updates.getState#edd4882a = updates.State;

updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
Expand Down Expand Up @@ -2649,7 +2663,7 @@ payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?t

payments.getBankCardData#2e79d779 number:string = payments.BankCardData;

stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true videos:flags.4?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;

stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;

Expand Down Expand Up @@ -2681,7 +2695,7 @@ phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;

phone.sendSignalingData#ff7a9383 peer:InputPhoneCall data:bytes = Bool;

phone.createGroupCall#48cdc6d8 flags:# peer:InputPeer random_id:int title:flags.0?string schedule_date:flags.1?int = Updates;
phone.createGroupCall#48cdc6d8 flags:# rtmp_stream:flags.2?true peer:InputPeer random_id:int title:flags.0?string schedule_date:flags.1?int = Updates;

phone.joinGroupCall#b132ff7b flags:# muted:flags.0?true video_stopped:flags.2?true call:InputGroupCall join_as:InputPeer invite_hash:flags.1?string params:DataJSON = Updates;

Expand Down Expand Up @@ -2719,6 +2733,10 @@ phone.joinGroupCallPresentation#cbea6bc4 call:InputGroupCall params:DataJSON = U

phone.leaveGroupCallPresentation#1c50d144 call:InputGroupCall = Updates;

phone.getGroupCallStreamChannels#1ab21940 call:InputGroupCall = phone.GroupCallStreamChannels;

phone.getGroupCallStreamRtmpUrl#deb3abbf peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;

langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;

langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector<string> = Vector<LangPackString>;
Expand All @@ -2743,4 +2761,4 @@ stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_r

stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;

// LAYER 138
// LAYER 139
32 changes: 25 additions & 7 deletions _schema/telegram.tl
Expand Up @@ -2,8 +2,8 @@
//
// Source: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/Resources/tl/api.tl
// Merge: _schema/legacy.tl
// Layer: 138
// SHA256: e4394d689aae7a56d9b81f444df7f182ec54f5b8eb2a0289a7ef9b19cfecabff
// Layer: 139
// SHA256: 80cbdbe9df4d7a9dda681537ce4ae739567051782b9fb4237d3cab78c1d70384

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -339,6 +339,10 @@ inputReportReasonGeoIrrelevant#dbd4feed = ReportReason;

inputReportReasonFake#f5ddd6e7 = ReportReason;

inputReportReasonIllegalDrugs#a8eb2be = ReportReason;

inputReportReasonPersonalDetails#9ec7863d = ReportReason;

userFull#cf366521 flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true id:long about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string = UserFull;

contact#145ade0b user_id:long mutual:Bool = Contact;
Expand Down Expand Up @@ -879,7 +883,7 @@ inputStickerSetDice#e67f520e emoticon:string = InputStickerSet;

inputStickerSetAnimatedEmojiAnimations#cde3739 = InputStickerSet;

stickerSet#d7df217a flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true gifs:flags.6?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int count:int hash:int = StickerSet;
stickerSet#d7df217a flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int count:int hash:int = StickerSet;

messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;

Expand Down Expand Up @@ -1801,7 +1805,7 @@ stats.messageStats#8999f295 views_graph:StatsGraph = stats.MessageStats;

groupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall;

groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;
groupCall#d597650c flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true rtmp_stream:flags.12?true listeners_hidden:flags.13?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int = GroupCall;

inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall;

Expand Down Expand Up @@ -1911,6 +1915,12 @@ messages.translateResultText#a214f7d0 text:string = messages.TranslatedText;

messagePeerReaction#51b67eff flags:# big:flags.0?true unread:flags.1?true peer_id:Peer reaction:string = MessagePeerReaction;

groupCallStreamChannel#80eb48af channel:int scale:int last_timestamp_ms:long = GroupCallStreamChannel;

phone.groupCallStreamChannels#d0e482b2 channels:Vector<GroupCallStreamChannel> = phone.GroupCallStreamChannels;

phone.groupCallStreamRtmpUrl#2dbf3432 url:string key:string = phone.GroupCallStreamRtmpUrl;


---functions---

Expand Down Expand Up @@ -2158,6 +2168,8 @@ contacts.getLocated#d348bc44 flags:# background:flags.1?true geo_point:InputGeoP

contacts.blockFromReplies#29a8962c flags:# delete_message:flags.0?true delete_history:flags.1?true report_spam:flags.2?true msg_id:int = Updates;

contacts.resolvePhone#8af94344 phone:string = contacts.ResolvedPeer;

messages.getMessages#63c66506 id:Vector<InputMessage> = messages.Messages;

messages.getDialogs#a0f4cb4f flags:# exclude_pinned:flags.0?true folder_id:flags.1?int offset_date:int offset_id:int offset_peer:InputPeer limit:int hash:long = messages.Dialogs;
Expand Down Expand Up @@ -2474,6 +2486,8 @@ messages.getUnreadReactions#e85bae1a peer:InputPeer offset_id:int add_offset:int

messages.readReactions#82e251d7 peer:InputPeer = messages.AffectedHistory;

messages.searchSentMedia#107e31a0 q:string filter:MessagesFilter limit:int = messages.Messages;

updates.getState#edd4882a = updates.State;

updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
Expand Down Expand Up @@ -2650,7 +2664,7 @@ payments.clearSavedInfo#d83d70c1 flags:# credentials:flags.0?true info:flags.1?t

payments.getBankCardData#2e79d779 number:string = payments.BankCardData;

stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;
stickers.createStickerSet#9021ab67 flags:# masks:flags.0?true animated:flags.1?true videos:flags.4?true user_id:InputUser title:string short_name:string thumb:flags.2?InputDocument stickers:Vector<InputStickerSetItem> software:flags.3?string = messages.StickerSet;

stickers.removeStickerFromSet#f7760f51 sticker:InputDocument = messages.StickerSet;

Expand Down Expand Up @@ -2682,7 +2696,7 @@ phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool;

phone.sendSignalingData#ff7a9383 peer:InputPhoneCall data:bytes = Bool;

phone.createGroupCall#48cdc6d8 flags:# peer:InputPeer random_id:int title:flags.0?string schedule_date:flags.1?int = Updates;
phone.createGroupCall#48cdc6d8 flags:# rtmp_stream:flags.2?true peer:InputPeer random_id:int title:flags.0?string schedule_date:flags.1?int = Updates;

phone.joinGroupCall#b132ff7b flags:# muted:flags.0?true video_stopped:flags.2?true call:InputGroupCall join_as:InputPeer invite_hash:flags.1?string params:DataJSON = Updates;

Expand Down Expand Up @@ -2720,6 +2734,10 @@ phone.joinGroupCallPresentation#cbea6bc4 call:InputGroupCall params:DataJSON = U

phone.leaveGroupCallPresentation#1c50d144 call:InputGroupCall = Updates;

phone.getGroupCallStreamChannels#1ab21940 call:InputGroupCall = phone.GroupCallStreamChannels;

phone.getGroupCallStreamRtmpUrl#deb3abbf peer:InputPeer revoke:Bool = phone.GroupCallStreamRtmpUrl;

langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference;

langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector<string> = Vector<LangPackString>;
Expand Down Expand Up @@ -2776,4 +2794,4 @@ test.useError#ee75af01 = Error;

test.useConfigSimple#f9b7b23d = help.ConfigSimple;

// LAYER 138
// LAYER 139