Commit Graph

11215 Commits

Author SHA1 Message Date
levlam
a87340edbd Tend to return more results from searchPublicChats. 2023-09-11 23:30:54 +03:00
levlam
064561e02a Automatically confirm sessions on specific actions. 2023-09-11 23:29:17 +03:00
levlam
a874e617dc Add updateUnconfirmedSession. 2023-09-11 22:03:01 +03:00
levlam
be442ba977 Move get_user_link to AccountManager. 2023-09-11 18:59:19 +03:00
levlam
5f1b1f41fc Add class InviteLinkChatType. 2023-09-11 18:33:44 +03:00
levlam
d2a3dfccc3 Support side menu icons for bots. 2023-09-08 17:21:16 +03:00
levlam
793e2ed0be Move account-related methods to AccountManager. 2023-09-08 16:34:11 +03:00
levlam
162b5cc636 Add AccountManager. 2023-09-08 16:19:30 +03:00
levlam
66793cf2f5 Add session.is_unconfirmed. 2023-09-08 15:49:25 +03:00
levlam
bf500652dc Support opening of Web Apps from the side menu and internalLinkTypeSideMenuBot links. 2023-09-07 21:40:47 +03:00
levlam
a7d9da0229 Add internalLinkTypeSideMenuBot. 2023-09-07 19:23:07 +03:00
levlam
289c25fd93 Support non-added bots in the list of attachment menu bots. 2023-09-07 18:04:21 +03:00
levlam
3983615646 Support showing attachment menu bots in side menu. 2023-09-07 16:45:42 +03:00
levlam
604f39c295 Add foundWebApp.supports_settings. 2023-09-07 15:52:31 +03:00
levlam
280209a220 Self-destruct media in private chats when they expire on the other side. 2023-09-07 00:31:05 +03:00
levlam
5ebbda1c26 Add td_api::MessageSelfDestructType. 2023-09-06 21:27:45 +03:00
levlam
aec04a2d01 Support immediately disappearing photos and videos. 2023-09-06 20:45:15 +03:00
levlam
a5073593e5 Update layer to 163. 2023-09-06 19:02:17 +03:00
levlam
97b756f292 Warn on unmatched brackets in the documentation. 2023-09-13 14:10:54 +03:00
levlam
fa838276fc Improve server fields documentation. 2023-09-12 00:45:42 +03:00
levlam
0ada45c361 Fix video story network statistics. 2023-09-11 17:02:58 +03:00
levlam
61eeab055a Improve FileStats logging. 2023-09-11 16:56:21 +03:00
levlam
c3a985fade Always fix video story file type in scan_fs. 2023-09-11 16:38:41 +03:00
levlam
622762f6ef Move guess_file_type_by_path to FileType.cpp. 2023-09-11 16:34:00 +03:00
levlam
468f92d0e5 Always scan file database to get file statistics to fix file type of video stories. 2023-09-11 16:07:53 +03:00
levlam
6022b2ce77 Improve parameter names. 2023-09-11 15:55:46 +03:00
levlam
745adb7c52 Add some logging. 2023-09-11 15:09:24 +03:00
levlam
edb3d08757 Improve chatInviteLinkInfo.type documentation. 2023-09-11 00:29:09 +03:00
levlam
40973f0977 Start chat unload timer when the first message is added to the chat, if it is definitely not the last database message. 2023-09-11 00:14:58 +03:00
levlam
291b9ce5f9 Minor improvements. 2023-09-10 01:12:40 +03:00
levlam
f67173dd08 Make struct MsgInfo private. 2023-09-10 00:30:49 +03:00
levlam
efba70c2ef Unify names of PacketInfo variables. 2023-09-10 00:04:55 +03:00
levlam
4da0f76d2a Remove PacketInfo.size. 2023-09-09 23:51:40 +03:00
levlam
4a36186662 Avoid repeated calls to Transport::write_*. 2023-09-09 23:46:56 +03:00
levlam
d87cc2b143 Simplify mtproto::Transport::write usage. 2023-09-09 22:49:45 +03:00
levlam
d47c862560 Avoid duplicate calculation of padded_size. 2023-09-09 22:22:35 +03:00
levlam
32049258d2 Improve MTProto response logging. 2023-09-09 00:13:42 +03:00
levlam
514a49b137 Remove dedicated handling for mtproto_api::rpc_error. 2023-09-08 20:02:21 +03:00
levlam
a1d0808d9f Remove auth_key_id from PacketInfo. 2023-09-08 19:18:38 +03:00
levlam
31f778e040 Remove message_key from PacketInfo. 2023-09-08 19:06:34 +03:00
levlam
00258ccb4c Make call to should_restart_part safe. 2023-09-07 17:31:08 +03:00
levlam
edc528457f Update version to 1.8.17. 2023-09-06 15:37:41 +03:00
levlam
de458452c9 Minor improvements. 2023-09-06 15:36:55 +03:00
levlam
0e1cd98869 Fix warning. 2023-09-04 17:11:00 +03:00
levlam
35ff6976d8 Add td_api::getAllStickerEmojis. 2023-09-04 16:17:36 +03:00
levlam
f4a8338232 Add more information in td_api::chatInviteLinkInfo. 2023-09-01 18:04:06 +03:00
levlam
89e2a29926 Add td_api::sendWebAppCustomRequest. 2023-08-25 18:26:05 +03:00
levlam
49c1764746 Add td_api::allowBotToSendMessages. 2023-08-25 18:06:56 +03:00
levlam
a08f54007e Add td_api::canBotSendMessages. 2023-08-25 17:23:04 +03:00
levlam
249da789e7 Add messageBotWriteAccessAllowed.by_request. 2023-08-25 16:53:50 +03:00