@@ -106,8 +106,8 @@ chatForbidden#6592a1a7 id:long title:string = Chat;
106106channel#8261ac61 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 noforwards:flags.27? true id:long access_hash:flags.13? long title:string username:flags.6? string photo:ChatPhoto date: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 ;
107107channelForbidden#17d493d5 flags:# broadcast:flags.5? true megagroup:flags.8? true id:long access_hash:long title:string until_date:flags.16? int = Chat ;
108108
109- chatFull#46a6ffb4 flags:# can_set_username:flags.7? true has_scheduled:flags.8? true id:long 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 theme_emoticon:flags.16? string requests_pending:flags.17? int recent_requesters:flags.17? Vector <long > = ChatFull ;
110- channelFull#56662e2e 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:long 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?long 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?long 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 theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer = ChatFull;
109+ chatFull#d18ee226 flags:# can_set_username:flags.7? true has_scheduled:flags.8? true id:long 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 theme_emoticon:flags.16? string requests_pending:flags.17? int recent_requesters:flags.17? Vector <long > available_reactions:flags.18 ? Vector < string > = ChatFull ;
110+ channelFull#e13c3d20 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:long 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?long 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?long 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 theme_emoticon:flags.27?string requests_pending:flags.28?int recent_requesters:flags.28?Vector<long> default_send_as:flags.29?Peer available_reactions:flags.30?Vector<string> = ChatFull;
111111
112112chatParticipant#c02d4007 user_id:long inviter_id:long date:int = ChatParticipant ;
113113chatParticipantCreator#e46bcee4 user_id:long = ChatParticipant ;
@@ -120,7 +120,7 @@ chatPhotoEmpty#37c1011c = ChatPhoto;
120120chatPhoto#1c6e1c11 flags:# has_video:flags.0? true photo_id:long stripped_thumb:flags.1? bytes dc_id:int = ChatPhoto ;
121121
122122messageEmpty#90a6ca84 flags:# id:int peer_id:flags.0? Peer = Message ;
123- message#85d6cbe2 flags:# out:flags.1? true mentioned:flags.4? true media_unread:flags.5? true silent:flags.13? true post:flags.14? true from_scheduled:flags.18? true legacy:flags.19? true edit_hide:flags.21? true pinned:flags.24? true noforwards:flags.26? true id:int from_id:flags.8? Peer peer_id:Peer fwd_from:flags.2? MessageFwdHeader via_bot_id:flags.11? long reply_to:flags.3? MessageReplyHeader date:int message:string media:flags.9? MessageMedia reply_markup:flags.6? ReplyMarkup entities:flags.7? Vector <MessageEntity > views:flags.10? int forwards:flags.10? int replies:flags.23? MessageReplies edit_date:flags.15? int post_author:flags.16? string grouped_id:flags.17? long restriction_reason:flags.22? Vector <RestrictionReason > ttl_period:flags.25? int = Message ;
123+ message#38116ee0 flags:# out:flags.1? true mentioned:flags.4? true media_unread:flags.5? true silent:flags.13? true post:flags.14? true from_scheduled:flags.18? true legacy:flags.19? true edit_hide:flags.21? true pinned:flags.24? true noforwards:flags.26? true id:int from_id:flags.8? Peer peer_id:Peer fwd_from:flags.2? MessageFwdHeader via_bot_id:flags.11? long reply_to:flags.3? MessageReplyHeader date:int message:string media:flags.9? MessageMedia reply_markup:flags.6? ReplyMarkup entities:flags.7? Vector <MessageEntity > views:flags.10? int forwards:flags.10? int replies:flags.23? MessageReplies edit_date:flags.15? int post_author:flags.16? string grouped_id:flags.17? long reactions:flags.20 ? MessageReactions restriction_reason:flags.22? Vector <RestrictionReason > ttl_period:flags.25? int = Message ;
124124messageService#2b085862 flags:# out:flags.1? true mentioned:flags.4? true media_unread:flags.5? true silent:flags.13? true post:flags.14? true legacy:flags.19? true id:int from_id:flags.8? Peer peer_id:Peer reply_to:flags.3? MessageReplyHeader date:int action:MessageAction ttl_period:flags.25? int = Message ;
125125
126126messageMediaEmpty#3ded6320 = MessageMedia ;
@@ -359,6 +359,7 @@ updateGroupCallConnection#b783982 flags:# presentation:flags.0?true params:DataJ
359359updateBotCommands#4d712f2e peer:Peer bot_id:long commands:Vector<BotCommand > = Update ;
360360updatePendingJoinRequests#7063c3db peer:Peer requests_pending:int recent_requesters:Vector<long > = Update ;
361361updateBotChatInviteRequester#11dfa986 peer:Peer date:int user_id:long about:string invite:ExportedChatInvite qts:int = Update ;
362+ updateMessageReactions#154798c3 peer:Peer msg_id:int reactions:MessageReactions = Update ;
362363
363364updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates .State ;
364365
@@ -592,6 +593,7 @@ messageEntityUnderline#9c4e7e8b offset:int length:int = MessageEntity;
592593messageEntityStrike#bf0693d4 offset:int length:int = MessageEntity ;
593594messageEntityBlockquote#20df5d0 offset:int length:int = MessageEntity ;
594595messageEntityBankCard#761e6af4 offset:int length:int = MessageEntity ;
596+ messageEntitySpoiler#32ca960f offset:int length:int = MessageEntity ;
595597
596598inputChannelEmpty#ee8c1e86 = InputChannel ;
597599inputChannel#f35aec28 channel_id:long access_hash:long = InputChannel ;
@@ -897,6 +899,7 @@ channelAdminLogEventActionChangeHistoryTTL#6e941a38 prev_value:int new_value:int
897899channelAdminLogEventActionParticipantJoinByRequest#afb6144a invite:ExportedChatInvite approved_by:long = ChannelAdminLogEventAction ;
898900channelAdminLogEventActionToggleNoForwards#cb2ac766 new_value:Bool = ChannelAdminLogEventAction ;
899901channelAdminLogEventActionSendMessage#278f2868 message:Message = ChannelAdminLogEventAction ;
902+ channelAdminLogEventActionChangeAvailableReactions#9cf7f76a prev_value:Vector<string > new_value:Vector<string > = ChannelAdminLogEventAction ;
900903
901904channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent ;
902905
@@ -1260,7 +1263,7 @@ account.resetPasswordFailedWait#e3779861 retry_date:int = account.ResetPasswordR
12601263account.resetPasswordRequestedWait#e9effc7d until_date:int = account .ResetPasswordResult ;
12611264account.resetPasswordOk#e926d63e = account .ResetPasswordResult ;
12621265
1263- sponsoredMessage#d151e19a flags:# random_id:bytes from_id:Peer channel_post:flags.2? int start_param:flags.0? string message:string entities:flags.1? Vector <MessageEntity > = SponsoredMessage ;
1266+ sponsoredMessage#3a836df8 flags:# random_id:bytes from_id:flags.3 ? Peer chat_invite:flags.4 ? ChatInvite chat_invite_hash:flags.4 ? string channel_post:flags.2? int start_param:flags.0? string message:string entities:flags.1? Vector <MessageEntity > = SponsoredMessage ;
12641267
12651268messages.sponsoredMessages#65a4c7d5 messages:Vector<SponsoredMessage > chats:Vector<Chat > users:Vector<User > = messages .SponsoredMessages ;
12661269
@@ -1280,30 +1283,21 @@ messages.peerSettings#6880b94d settings:PeerSettings chats:Vector<Chat> users:Ve
12801283
12811284auth.loggedOut#c3a2835f flags:# future_auth_token:flags.0? bytes = auth .LoggedOut ;
12821285
1283- updateMessageReactions #c3a28e25f peer:Peer msg_id:int reactions:MessageReactions = Update ;
1286+ reactionCount #6fb250d1 flags:# chosen:flags.0 ? true reaction:string count:int = ReactionCount ;
12841287
1285- reactionCount #c3a912e25f flags:# chosen :flags.0? true reaction:string count:int = ReactionCount ;
1288+ messageReactions #87b6e36 flags:# min :flags.0? true can_see_list:flags.2 ? true results:Vector< ReactionCount > recent_reactons:flags.1 ? Vector < MessageUserReaction > = MessageReactions ;
12861289
1287- messageReactions #718644adr flags:# min:flags.0 ? true results:Vector< ReactionCount > recent_reactons:flags.1 ? Vector < MessageUserReaction > = MessageReactions ;
1290+ messageUserReaction #932844fa user_id:long reaction:string = MessageUserReaction ;
12881291
1289- messageUserReaction#4187a user_id:long reaction:string = MessageUserReaction ;
1290- messages.messageReactionsList#178946a flags:# count:int reactions:Vector<MessageUserReaction > users:Vector<User > next_offset:flags.0? string = messages .MessageReactionsList ;
1292+ messages.messageReactionsList#a366923c flags:# count:int reactions:Vector<MessageUserReaction > users:Vector<User > next_offset:flags.0? string = messages .MessageReactionsList ;
12911293
1292- message flags:# out :flags.1 ? true mentioned:flags.4 ? true media_unread:flags.5 ? true silent:flags.13 ? true post:flags.14 ? true from_scheduled:flags.18 ? true legacy:flags.19 ? true edit_hide:flags.21 ? true pinned:flags.24 ? true noforwards:flags.26 ? true id:int from_id:flags.8 ? Peer peer_id:Peer fwd_from:flags.2 ? MessageFwdHeader via_bot_id:flags.11 ? long reply_to:flags.3 ? MessageReplyHeader date:int message: string media:flags.9 ? MessageMedia reply_markup:flags.6 ? ReplyMarkup entities:flags.7 ? Vector < MessageEntity > views:flags.10 ? int forwards:flags.10 ? int replies:flags.23 ? MessageReplies edit_date:flags.15 ? int post_author:flags.16 ? string grouped_id:flags.17 ? long reactions:flags.20 ? MessageReactions restriction_reason:flags.22 ? Vector < RestrictionReason > ttl_period:flags.25 ? int = Message ;
1294+ availableReaction #21d7c4b flags:# inactive :flags.0 ? true reaction:string title: string static_icon:Document appear_animation:Document select_animation:Document activate_animation:Document effect_animation:Document = AvailableReaction ;
12931295
1294- availableReaction#41968a6 reaction:string title:string static_icon:Document select_animation:Document activate_animation:Document effect_animation:Document = AvailableReaction ;
1295-
1296- messages.availableReactionsNotModified#34186a = messages .AvailableReactions ;
1297- messages.availableReactions#74852fas hash:int reactions:Vector<AvailableReaction > = messages .AvailableReactions ;
1296+ messages.availableReactionsNotModified#9f071957 = messages .AvailableReactions ;
1297+ messages.availableReactions#768e3aad hash:int reactions:Vector<AvailableReaction > = messages .AvailableReactions ;
12981298
12991299---functions ---
13001300
1301- messages.sendReaction#18646f flags:# peer:InputPeer msg_id:int reaction:flags.0? string = Updates ;
1302- messages.getMessagesReactions#8641a peer:InputPeer id:Vector<int > = Updates ;
1303- messages.getMessageReactionsList#106418a flags:# peer:InputPeer id:int reaction:flags.0? string offset:flags.1? string limit:int = messages .MessageReactionsList ;
1304-
1305- messages.getAvailableReactions#196482ad hash:int = messages .AvailableReactions ;
1306-
13071301invokeAfterMsg#cb9f372d {X:Type} msg_id:long query :!X = X ;
13081302invokeAfterMsgs#3dc4b4f0 {X:Type} msg_ids:Vector<long > query :!X = X ;
13091303initConnection#c1cd5ea9 {X:Type} flags:# api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string proxy:flags.0? InputClientProxy params:flags.1? JSONValue query :!X = X ;
@@ -1440,9 +1434,9 @@ messages.deleteHistory#b08f922a flags:# just_clear:flags.0?true revoke:flags.1?t
14401434messages.deleteMessages#e58e95d2 flags:# revoke:flags.0? true id:Vector<int > = messages .AffectedMessages ;
14411435messages.receivedMessages#5a954c0 max_id:int = Vector <ReceivedNotifyMessage >;
14421436messages.setTyping#58943ee2 flags:# peer:InputPeer top_msg_id:flags.0? int action:SendMessageAction = Bool ;
1443- messages.sendMessage#d9d75a4 flags:# no_webpage:flags.1? true silent:flags.5? true background:flags.6? true clear_draft:flags.7? true peer:InputPeer reply_to_msg_id:flags.0? int message:string random_id:long reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > schedule_date:flags.10? int send_as:flags.13? InputPeer = Updates ;
1444- messages.sendMedia#e25ff8e0 flags:# silent:flags.5? true background:flags.6? true clear_draft:flags.7? true peer:InputPeer reply_to_msg_id:flags.0? int media:InputMedia message:string random_id:long reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > schedule_date:flags.10? int send_as:flags.13? InputPeer = Updates ;
1445- messages.forwardMessages#cc30290b flags:# silent:flags.5? true background:flags.6? true with_my_score:flags.8? true drop_author:flags.11? true drop_media_captions:flags.12? true from_peer:InputPeer id:Vector<int > random_id:Vector<long > to_peer:InputPeer schedule_date:flags.10? int send_as:flags.13? InputPeer = Updates ;
1437+ messages.sendMessage#d9d75a4 flags:# no_webpage:flags.1? true silent:flags.5? true background:flags.6? true clear_draft:flags.7? true noforwards:flags.14 ? true peer:InputPeer reply_to_msg_id:flags.0? int message:string random_id:long reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > schedule_date:flags.10? int send_as:flags.13? InputPeer = Updates ;
1438+ messages.sendMedia#e25ff8e0 flags:# silent:flags.5? true background:flags.6? true clear_draft:flags.7? true noforwards:flags.14 ? true peer:InputPeer reply_to_msg_id:flags.0? int media:InputMedia message:string random_id:long reply_markup:flags.2? ReplyMarkup entities:flags.3? Vector <MessageEntity > schedule_date:flags.10? int send_as:flags.13? InputPeer = Updates ;
1439+ messages.forwardMessages#cc30290b flags:# silent:flags.5? true background:flags.6? true with_my_score:flags.8? true drop_author:flags.11? true drop_media_captions:flags.12? true noforwards:flags.14 ? true from_peer:InputPeer id:Vector<int > random_id:Vector<long > to_peer:InputPeer schedule_date:flags.10? int send_as:flags.13? InputPeer = Updates ;
14461440messages.reportSpam#cf1592db peer:InputPeer = Bool ;
14471441messages.getPeerSettings#efd9a6a2 peer:InputPeer = messages .PeerSettings ;
14481442messages.report#8953ab4e peer:InputPeer id:Vector<int > reason:ReportReason message:string = Bool ;
@@ -1521,7 +1515,7 @@ messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;
15211515messages.getUnreadMentions#46578472 peer:InputPeer offset_id:int add_offset:int limit:int max_id:int min_id:int = messages .Messages ;
15221516messages.readMentions#f0189d3 peer:InputPeer = messages .AffectedHistory ;
15231517messages.getRecentLocations#702a40e0 peer:InputPeer limit:int hash:long = messages .Messages ;
1524- messages.sendMultiMedia#f803138f flags:# silent:flags.5? true background:flags.6? true clear_draft:flags.7? true peer:InputPeer reply_to_msg_id:flags.0? int multi_media:Vector<InputSingleMedia > schedule_date:flags.10? int send_as:flags.13? InputPeer = Updates ;
1518+ messages.sendMultiMedia#f803138f flags:# silent:flags.5? true background:flags.6? true clear_draft:flags.7? true noforwards:flags.14 ? true peer:InputPeer reply_to_msg_id:flags.0? int multi_media:Vector<InputSingleMedia > schedule_date:flags.10? int send_as:flags.13? InputPeer = Updates ;
15251519messages.uploadEncryptedFile#5057c497 peer:InputEncryptedChat file:InputEncryptedFile = EncryptedFile ;
15261520messages.searchStickerSets#35705b8a flags:# exclude_featured:flags.0? true q:string hash:long = messages .FoundStickerSets ;
15271521messages.getSplitRanges#1cff7e08 = Vector <MessageRange >;
@@ -1580,6 +1574,12 @@ messages.hideChatJoinRequest#7fe7e815 flags:# approved:flags.0?true peer:InputPe
15801574messages.hideAllChatJoinRequests#e085f4ea flags:# approved:flags.0? true peer:InputPeer link:flags.1? string = Updates ;
15811575messages.toggleNoForwards#b11eafa2 peer:InputPeer enabled:Bool = Updates ;
15821576messages.saveDefaultSendAs#ccfddf96 peer:InputPeer send_as:InputPeer = Bool ;
1577+ messages.sendReaction#25690ce4 flags:# peer:InputPeer msg_id:int reaction:flags.0? string = Updates ;
1578+ messages.getMessagesReactions#8bba90e6 peer:InputPeer id:Vector<int > = Updates ;
1579+ messages.getMessageReactionsList#e0ee6b77 flags:# peer:InputPeer id:int reaction:flags.0? string offset:flags.1? string limit:int = messages .MessageReactionsList ;
1580+ messages.setChatAvailableReactions#14050ea6 peer:InputPeer available_reactions:Vector<string > = Updates ;
1581+ messages.getAvailableReactions#18dea0ac hash:int = messages .AvailableReactions ;
1582+ messages.setDefaultReaction#d960c4d4 reaction:string = Bool ;
15831583
15841584updates.getState#edd4882a = updates .State ;
15851585updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0? int date:int qts:int = updates .Difference ;
@@ -1728,4 +1728,4 @@ stats.getMegagroupStats#dcdf8607 flags:# dark:flags.0?true channel:InputChannel
17281728stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_rate:int offset_peer:InputPeer offset_id:int limit:int = messages .Messages ;
17291729stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0? true channel:InputChannel msg_id:int = stats .MessageStats ;
17301730
1731- // LAYER 135
1731+ // LAYER 136
0 commit comments