@@ -70,6 +70,7 @@ inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes th
7070inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation ;
7171inputPeerPhotoFileLocation#27d69997 flags:# big:flags.0? true peer:InputPeer volume_id:long local_id:int = InputFileLocation ;
7272inputStickerSetThumb#dbaeae9 stickerset:InputStickerSet volume_id:long local_id:int = InputFileLocation ;
73+ inputGroupCallStream#bba51639 call:InputGroupCall time_ms:long scale:int = InputFileLocation ;
7374
7475peerUser#9db1bc6d user_id:int = Peer ;
7576peerChat#bad0e5bb chat_id:int = Peer ;
@@ -105,8 +106,8 @@ chatForbidden#7328bdb id:int title:string = Chat;
105106channel#d31a961e flags:# creator:flags.0? true left:flags.2? true broadcast:flags.5? true verified:flags.7? true megagroup:flags.8? true restricted:flags.9? true signatures:flags.11? true min:flags.12? true scam:flags.19? true has_link:flags.20? true has_geo:flags.21? true slowmode_enabled:flags.22? true call_active:flags.23? true call_not_empty:flags.24? true fake:flags.25? true gigagroup:flags.26? true id:int access_hash:flags.13? long title:string username:flags.6? string photo:ChatPhoto date:int version:int restriction_reason:flags.9? Vector <RestrictionReason > admin_rights:flags.14? ChatAdminRights banned_rights:flags.15? ChatBannedRights default_banned_rights:flags.18? ChatBannedRights participants_count:flags.17? int = Chat ;
106107channelForbidden#289da732 flags:# broadcast:flags.5? true megagroup:flags.8? true id:int access_hash:long title:string until_date:flags.16? int = Chat ;
107108
108- chatFull#f06c4018 flags:# can_set_username:flags.7? true has_scheduled:flags.8? true id:int about:string participants:ChatParticipants chat_photo:flags.2? Photo notify_settings:PeerNotifySettings exported_invite:flags.13? ExportedChatInvite bot_info:flags.3? Vector <BotInfo > pinned_msg_id:flags.6? int folder_id:flags.11? int call:flags.12? InputGroupCall ttl_period:flags.14? int = ChatFull ;
109- channelFull#2548c037 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> = ChatFull;
109+ chatFull#8a1e2983 flags:# can_set_username:flags.7? true has_scheduled:flags.8? true id:int about:string participants:ChatParticipants chat_photo:flags.2? Photo notify_settings:PeerNotifySettings exported_invite:flags.13? ExportedChatInvite bot_info:flags.3? Vector <BotInfo > pinned_msg_id:flags.6? int folder_id:flags.11? int call:flags.12? InputGroupCall ttl_period:flags.14? int groupcall_default_join_as:flags.15 ? Peer = ChatFull ;
110+ channelFull#548c3f93 flags:# can_view_participants:flags.3?true can_set_username:flags.6?true can_set_stickers:flags.7?true hidden_prehistory:flags.10?true can_set_location:flags.16?true has_scheduled:flags.19?true can_view_stats:flags.20?true blocked:flags.22?true id:int about:string participants_count:flags.0?int admins_count:flags.1?int kicked_count:flags.2?int banned_count:flags.2?int online_count:flags.13?int read_inbox_max_id:int read_outbox_max_id:int unread_count:int chat_photo:Photo notify_settings:PeerNotifySettings exported_invite:flags.23?ExportedChatInvite bot_info:Vector<BotInfo> migrated_from_chat_id:flags.4?int migrated_from_max_id:flags.4?int pinned_msg_id:flags.5?int stickerset:flags.8?StickerSet available_min_id:flags.9?int folder_id:flags.11?int linked_chat_id:flags.14?int location:flags.15?ChannelLocation slowmode_seconds:flags.17?int slowmode_next_send_date:flags.18?int stats_dc:flags.12?int pts:int call:flags.21?InputGroupCall ttl_period:flags.24?int pending_suggestions:flags.25?Vector<string> groupcall_default_join_as:flags.26?Peer = ChatFull;
110111
111112chatParticipant#c8d7493e user_id:int inviter_id:int date:int = ChatParticipant ;
112113chatParticipantCreator#da13538a user_id:int = ChatParticipant ;
@@ -264,7 +265,7 @@ updateNewMessage#1f2b0afd message:Message pts:int pts_count:int = Update;
264265updateMessageID#4e90bfd6 id:int random_id:long = Update ;
265266updateDeleteMessages#a20db0e5 messages:Vector<int > pts:int pts_count:int = Update ;
266267updateUserTyping#5c486927 user_id:int action:SendMessageAction = Update ;
267- updateChatUserTyping#9a65ea1f chat_id:int user_id:int action:SendMessageAction = Update ;
268+ updateChatUserTyping#86cadb6c chat_id:int from_id:Peer action:SendMessageAction = Update ;
268269updateChatParticipants#7761198 participants:ChatParticipants = Update ;
269270updateUserStatus#1bfbd823 user_id:int status:UserStatus = Update ;
270271updateUserName#a7332b73 user_id:int first_name:string last_name:string username:string = Update ;
@@ -341,16 +342,16 @@ updateChannelMessageForwards#6e8a84df channel_id:int id:int forwards:int = Updat
341342updateReadChannelDiscussionInbox#1cc7de54 flags:# channel_id:int top_msg_id:int read_max_id:int broadcast_id:flags.0? int broadcast_post:flags.0? int = Update ;
342343updateReadChannelDiscussionOutbox#4638a26c channel_id:int top_msg_id:int read_max_id:int = Update ;
343344updatePeerBlocked#246a4b22 peer_id:Peer blocked:Bool = Update ;
344- updateChannelUserTyping#ff2abe9f flags:# channel_id:int top_msg_id:flags.0? int user_id:int action:SendMessageAction = Update ;
345+ updateChannelUserTyping#6b171718 flags:# channel_id:int top_msg_id:flags.0? int from_id:Peer action:SendMessageAction = Update ;
345346updatePinnedMessages#ed85eab5 flags:# pinned:flags.0? true peer:Peer messages:Vector<int > pts:int pts_count:int = Update ;
346347updatePinnedChannelMessages#8588878b flags:# pinned:flags.0? true channel_id:int messages:Vector<int > pts:int pts_count:int = Update ;
347348updateChat#1330a196 chat_id:int = Update ;
348349updateGroupCallParticipants#f2ebdb4e call:InputGroupCall participants:Vector<GroupCallParticipant > version:int = Update ;
349350updateGroupCall#a45eb99b chat_id:int call:GroupCall = Update ;
350351updatePeerHistoryTTL#bb9bb9a5 flags:# peer:Peer ttl_period:flags.0? int = Update ;
351- updateChatParticipant#609a6ed4 flags:# chat_id:int date:int user_id:int prev_participant:flags.0? ChatParticipant new_participant:flags.1? ChatParticipant qts:int = Update ;
352- updateChannelParticipant#65d2b464 flags:# channel_id:int date:int user_id:int prev_participant:flags.0? ChannelParticipant new_participant:flags.1? ChannelParticipant qts:int = Update ;
353- updateBotStopped#30ec6ebc user_id:int stopped:Bool qts:int = Update ;
352+ updateChatParticipant#f3b3781f flags:# chat_id:int date:int actor_id:int user_id:int prev_participant:flags.0? ChatParticipant new_participant:flags.1? ChatParticipant invite:flags.2 ? ExportedChatInvite qts:int = Update ;
353+ updateChannelParticipant#7fecb1ec flags:# channel_id:int date:int actor_id:int user_id:int prev_participant:flags.0? ChannelParticipant new_participant:flags.1? ChannelParticipant invite:flags.2 ? ExportedChatInvite qts:int = Update ;
354+ updateBotStopped#7f9488a user_id:int date :int stopped:Bool qts:int = Update ;
354355
355356updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates .State ;
356357
@@ -1180,15 +1181,15 @@ peerBlocked#e8fd8014 peer_id:Peer date:int = PeerBlocked;
11801181stats.messageStats#8999f295 views_graph:StatsGraph = stats .MessageStats ;
11811182
11821183groupCallDiscarded#7780bcb4 id:long access_hash:long duration:int = GroupCall ;
1183- groupCall#55903081 flags:# join_muted:flags.1? true can_change_join_muted:flags.2? true id:long access_hash:long participants_count:int params:flags.0? DataJSON version:int = GroupCall ;
1184+ groupCall#c0c2052e flags:# join_muted:flags.1? true can_change_join_muted:flags.2? true id:long access_hash:long participants_count:int params:flags.0? DataJSON title:flags.3 ? string stream_dc_id:flags.4 ? int record_start_date:flags.5 ? int version:int = GroupCall ;
11841185
11851186inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall ;
11861187
1187- groupCallParticipant#64c62a15 flags:# muted:flags.0? true left:flags.1? true can_self_unmute:flags.2? true just_joined:flags.4? true versioned:flags.5? true min:flags.8? true muted_by_you:flags.9? true volume_by_admin:flags.10? true user_id:int date:int active_date:flags.3? int source:int volume:flags.7? int = GroupCallParticipant ;
1188+ groupCallParticipant#19adba89 flags:# muted:flags.0? true left:flags.1? true can_self_unmute:flags.2? true just_joined:flags.4? true versioned:flags.5? true min:flags.8? true muted_by_you:flags.9? true volume_by_admin:flags.10? true self:flags.12 ? true peer:Peer date:int active_date:flags.3? int source:int volume:flags.7? int about:flags.11 ? string raise_hand_rating:flags.13 ? long = GroupCallParticipant ;
11881189
1189- phone.groupCall#66ab0bfc call:GroupCall participants:Vector<GroupCallParticipant > participants_next_offset:string users:Vector<User > = phone .GroupCall ;
1190+ phone.groupCall#9e727aad call:GroupCall participants:Vector<GroupCallParticipant > participants_next_offset:string chats:Vector< Chat > users:Vector<User > = phone .GroupCall ;
11901191
1191- phone.groupParticipants#9cfeb92d count:int participants:Vector<GroupCallParticipant > next_offset:string users:Vector<User > version:int = phone .GroupParticipants ;
1192+ phone.groupParticipants#f47751b6 count:int participants:Vector<GroupCallParticipant > next_offset:string chats:Vector< Chat > users:Vector<User > version:int = phone .GroupParticipants ;
11921193
11931194inlineQueryPeerTypeSameBotPM#3081ed9d = InlineQueryPeerType ;
11941195inlineQueryPeerTypePM#833c0fac = InlineQueryPeerType ;
@@ -1215,6 +1216,12 @@ chatAdminWithInvites#dfd2330f admin_id:int invites_count:int revoked_invites_cou
12151216
12161217messages.chatAdminsWithInvites#b69b72d7 admins:Vector<ChatAdminWithInvites > users:Vector<User > = messages .ChatAdminsWithInvites ;
12171218
1219+ messages.checkedHistoryImportPeer#a24de717 confirm_text:string = messages .CheckedHistoryImportPeer ;
1220+
1221+ phone.joinAsPeers#afe5623f peers:Vector<Peer > chats:Vector<Chat > users:Vector<User > = phone .JoinAsPeers ;
1222+
1223+ phone.exportedGroupCallInvite#204bd158 link:string = phone .ExportedGroupCallInvite ;
1224+
12181225---functions ---
12191226
12201227invokeAfterMsg#cb9f372d {X:Type} msg_id:long query :!X = X ;
@@ -1447,8 +1454,8 @@ messages.getEmojiKeywordsDifference#1508b6af lang_code:string from_version:int =
14471454messages.getEmojiKeywordsLanguages#4e9963b2 lang_codes:Vector<string > = Vector <EmojiLanguage >;
14481455messages.getEmojiURL#d5b10c26 lang_code:string = EmojiURL ;
14491456messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector<MessagesFilter > = Vector <messages .SearchCounter >;
1450- messages.requestUrlAuth#e33f5613 peer:InputPeer msg_id:int button_id:int = UrlAuthResult ;
1451- messages.acceptUrlAuth#f729ea98 flags:# write_allowed:flags.0? true peer:InputPeer msg_id:int button_id:int = UrlAuthResult ;
1457+ messages.requestUrlAuth#198fb446 flags:# peer:flags.1 ? InputPeer msg_id:flags.1 ? int button_id:flags.1 ? int url:flags.2 ? string = UrlAuthResult ;
1458+ messages.acceptUrlAuth#b12c7125 flags:# write_allowed:flags.0? true peer:flags.1 ? InputPeer msg_id:flags.1 ? int button_id:flags.1 ? int url:flags.2 ? string = UrlAuthResult ;
14521459messages.hidePeerSettingsBar#4facb138 peer:InputPeer = Bool ;
14531460messages.getScheduledHistory#e2c2685b peer:InputPeer hash:int = messages .Messages ;
14541461messages.getScheduledMessages#bdbb0464 peer:InputPeer id:Vector<int > = messages .Messages ;
@@ -1472,12 +1479,14 @@ messages.initHistoryImport#34090c3b peer:InputPeer file:InputFile media_count:in
14721479messages.uploadImportedMedia#2a862092 peer:InputPeer import_id:long file_name:string media:InputMedia = MessageMedia ;
14731480messages.startHistoryImport#b43df344 peer:InputPeer import_id:long = Bool ;
14741481messages.getExportedChatInvites#a2b5a3f6 flags:# revoked:flags.3? true peer:InputPeer admin_id:InputUser offset_date:flags.2? int offset_link:flags.2? string limit:int = messages .ExportedChatInvites ;
1482+ messages.getExportedChatInvite#73746f5c peer:InputPeer link:string = messages .ExportedChatInvite ;
14751483messages.editExportedChatInvite#2e4ffbe flags:# revoked:flags.2? true peer:InputPeer link:string expire_date:flags.0? int usage_limit:flags.1? int = messages .ExportedChatInvite ;
14761484messages.deleteRevokedExportedChatInvites#56987bd5 peer:InputPeer admin_id:InputUser = Bool ;
14771485messages.deleteExportedChatInvite#d464a42b peer:InputPeer link:string = Bool ;
14781486messages.getAdminsWithInvites#3920e6ef peer:InputPeer = messages .ChatAdminsWithInvites ;
14791487messages.getChatInviteImporters#26fb7289 peer:InputPeer link:string offset_date:int offset_user:InputUser limit:int = messages .ChatInviteImporters ;
14801488messages.setHistoryTTL#b80e5fe4 peer:InputPeer period:int = Updates ;
1489+ messages.checkHistoryImportPeer#5dc60f03 peer:InputPeer = messages .CheckedHistoryImportPeer ;
14811490
14821491updates.getState#edd4882a = updates .State ;
14831492updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0? int date:int qts:int = updates .Difference ;
@@ -1541,7 +1550,7 @@ channels.inviteToChannel#199f3a6c channel:InputChannel users:Vector<InputUser> =
15411550channels.deleteChannel#c0111fe3 channel:InputChannel = Updates ;
15421551channels.exportMessageLink#e63fadeb flags:# grouped:flags.0? true thread:flags.1? true channel:InputChannel id:int = ExportedMessageLink ;
15431552channels.toggleSignatures#1f69b606 channel:InputChannel enabled:Bool = Updates ;
1544- channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0? true check_limit:flags.1? true = messages .Chats ;
1553+ channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0? true check_limit:flags.1? true for_groupcall:flags.2 ? true = messages .Chats ;
15451554channels.editBanned#72796912 channel:InputChannel user_id:InputUser banned_rights:ChatBannedRights = Updates ;
15461555channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0? ChannelAdminLogEventsFilter admins:flags.1? Vector <InputUser > max_id:long min_id:long limit:int = channels .AdminLogResults ;
15471556channels.setStickers#ea8ca4f9 channel:InputChannel stickerset:InputStickerSet = Bool ;
@@ -1585,15 +1594,19 @@ phone.setCallRating#59ead627 flags:# user_initiative:flags.0?true peer:InputPhon
15851594phone.saveCallDebug#277add7e peer:InputPhoneCall debug:DataJSON = Bool ;
15861595phone.sendSignalingData#ff7a9383 peer:InputPhoneCall data:bytes = Bool ;
15871596phone.createGroupCall#bd3dabe0 peer:InputPeer random_id:int = Updates ;
1588- phone.joinGroupCall#5f9c8e62 flags:# muted:flags.0? true call:InputGroupCall params:DataJSON = Updates ;
1597+ phone.joinGroupCall#b132ff7b flags:# muted:flags.0? true call:InputGroupCall join_as:InputPeer invite_hash:flags.1 ? string params:DataJSON = Updates ;
15891598phone.leaveGroupCall#500377f9 call:InputGroupCall source:int = Updates ;
1590- phone.editGroupCallMember#a5e76cd8 flags:# muted:flags.0? true call:InputGroupCall user_id:InputUser volume:flags.1? int = Updates ;
15911599phone.inviteToGroupCall#7b393160 call:InputGroupCall users:Vector<InputUser > = Updates ;
15921600phone.discardGroupCall#7a777135 call:InputGroupCall = Updates ;
1593- phone.toggleGroupCallSettings#74bbb43d flags:# call:InputGroupCall join_muted:flags.0? Bool = Updates ;
1601+ phone.toggleGroupCallSettings#74bbb43d flags:# reset_invite_hash:flags.1 ? true call:InputGroupCall join_muted:flags.0? Bool = Updates ;
15941602phone.getGroupCall#c7cb017 call:InputGroupCall = phone .GroupCall ;
1595- phone.getGroupParticipants#c9f1d285 call:InputGroupCall ids:Vector<int > sources:Vector<int > offset:string limit:int = phone .GroupParticipants ;
1603+ phone.getGroupParticipants#c558d8ab call:InputGroupCall ids:Vector<InputPeer > sources:Vector<int > offset:string limit:int = phone .GroupParticipants ;
15961604phone.checkGroupCall#b74a7bea call:InputGroupCall source:int = Bool ;
1605+ phone.toggleGroupCallRecord#c02a66d7 flags:# start:flags.0? true call:InputGroupCall title:flags.1? string = Updates ;
1606+ phone.editGroupCallParticipant#d975eb80 flags:# muted:flags.0? true call:InputGroupCall participant:InputPeer volume:flags.1? int raise_hand:flags.2? Bool = Updates ;
1607+ phone.editGroupCallTitle#1ca6ac0a call:InputGroupCall title:string = Updates ;
1608+ phone.getGroupCallJoinAs#ef7c213a peer:InputPeer = phone .JoinAsPeers ;
1609+ phone.exportGroupCallInvite#e6aa647f flags:# can_self_unmute:flags.0? true call:InputGroupCall = phone .ExportedGroupCallInvite ;
15971610
15981611langpack.getLangPack#f2f2330a lang_pack:string lang_code:string = LangPackDifference ;
15991612langpack.getStrings#efea3803 lang_pack:string lang_code:string keys:Vector<string > = Vector <LangPackString >;
@@ -1610,4 +1623,4 @@ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel
16101623stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages .Messages ;
16111624stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0? true channel:InputChannel msg_id:int = stats .MessageStats ;
16121625
1613- // LAYER 124
1626+ // LAYER 125
0 commit comments