Commit Graph

9876 Commits

Author SHA1 Message Date
levlam
6198a6a842 Add td_api::getChatFilterChatsToLeave. 2023-04-02 12:40:57 +03:00
levlam
4bf49b246f Add deleteChatFilter.leave_chat_ids. 2023-04-02 12:05:04 +03:00
levlam
7085bc4d8f Pass promise to on_update_dialog_filters. 2023-04-02 11:53:25 +03:00
levlam
890084df51 Add ContactsManager::leave_dialog. 2023-04-02 11:46:38 +03:00
levlam
0ca51e8b79 Use DialogId::get_chat_ids. 2023-04-02 11:24:48 +03:00
levlam
ea27f659e6 Use chatlists.leaveChatlist to delete shareable folders. 2023-04-01 23:24:57 +03:00
levlam
cb2ce5d1de Add td_api::addChatFilterByInviteLink. 2023-03-31 16:48:32 +03:00
levlam
d47bd927fe Add td_api::checkChatFilterInviteLink. 2023-03-31 15:50:49 +03:00
levlam
8b97f76255 Add DialogFilter::get_icon_name_by_emoji. 2023-03-31 15:48:57 +03:00
levlam
715f681651 Add class chatFilterIcon. 2023-03-31 13:34:47 +03:00
levlam
725c7ba5d1 Add DialogFilterInviteLink::is_valid_invite_link. 2023-03-31 12:57:58 +03:00
levlam
6e139200eb Use get_dialog_invite_link/get_dialog_filter_invite_link to generate the links. 2023-03-30 21:25:25 +03:00
levlam
5e14afc9dd Remove superflous checks before calls to get_url_query_hash/slug. 2023-03-30 21:16:03 +03:00
levlam
ced48b910f Remove superflous emptiness checks in get_url_query_hash/slug. 2023-03-30 21:12:54 +03:00
levlam
02a2e23cac Add td_api::internalLinkTypeChatFilterInvite. 2023-03-30 21:11:15 +03:00
levlam
49b9ea2ec1 Add td_api::deleteChatFilterInviteLink. 2023-03-30 19:52:55 +03:00
levlam
a9f862c3c3 Add td_api::editChatFilterInviteLink. 2023-03-30 19:37:01 +03:00
levlam
3fa7e6f2f7 tg_cli: allow to edit shareable filters. 2023-03-30 18:39:51 +03:00
levlam
761bc9c992 Add chatFilter.is_shareable. 2023-03-30 18:23:26 +03:00
levlam
d1c9cacf85 Add td_api::getChatFilterInviteLinks. 2023-03-30 17:15:04 +03:00
levlam
0ec458ebb1 Allow basic groups in createChatFilterInviteLink. 2023-03-30 16:58:24 +03:00
levlam
ea56e6865a Add td_api::reorderActiveBotUsernames. 2023-03-30 16:41:03 +03:00
levlam
93c3b5cc07 Add toggleBotUsernameIsActive. 2023-03-30 15:34:27 +03:00
levlam
3f9b43227c tg_cli: add td_api::setBotProfilePhoto. 2023-03-29 22:45:13 +03:00
levlam
9d88c64718 Add td_api::setBotProfilePhoto. 2023-03-29 21:49:54 +03:00
levlam
62818418ea Add setBotName/getBotName. 2023-03-28 18:42:54 +03:00
levlam
dceeb363d5 Invalidate UserFull for the edited bot. 2023-03-28 18:26:12 +03:00
levlam
92f1d26f08 Allow to edit description of owned bots. 2023-03-28 17:49:48 +03:00
levlam
aec7d5a26f Add userTypeBot.can_be_edited. 2023-03-28 16:26:42 +03:00
levlam
a487c08eca Move logging to DialogFilter::merge_dialog_filter_changes. 2023-03-27 21:40:07 +03:00
levlam
f844179528 Add td_api::createChatFilterInviteLink. 2023-03-27 21:36:44 +03:00
levlam
03819d0322 Move all chatFilter checks to DialogFilter::create_dialog_filter. 2023-03-27 19:08:25 +03:00
levlam
19ac20adc9 Move checks from DialogFilterManager::create_dialog_filter to DialogFilter. 2023-03-27 18:46:01 +03:00
levlam
f12fedd4d6 Add class DialogFilterDialogInfo. 2023-03-27 18:34:25 +03:00
levlam
ee0922d23d Remove Scheduler::init(). 2023-03-27 18:08:06 +03:00
levlam
f2a406690e Improve Actor::init name. 2023-03-27 17:56:40 +03:00
levlam
f4daa4b61a Move dialog filter list to DialogFilterManager. 2023-03-27 17:44:13 +03:00
levlam
9259728d16 Use do_edit_dialog_filter. 2023-03-27 14:16:02 +03:00
levlam
2ef970307b Move get_chat_filter_object and load_dialog_filter to DialogFilterManager. 2023-03-27 14:09:55 +03:00
levlam
0ff733edad Move recommended filters to DialogFilterManager. 2023-03-27 11:50:40 +03:00
levlam
800258fa57 Add DialogFilterManager. 2023-03-27 11:27:17 +03:00
levlam
9a85e4df1c Add td_api::chatFilterInviteLink. 2023-03-24 17:06:09 +03:00
levlam
debf8f5f68 Support shareable filters. 2023-03-24 15:32:47 +03:00
levlam
910c5ee09c Add cryptocurrency price to messageGiftedPremium. 2023-03-21 14:54:36 +03:00
levlam
a45d2de881 Update layer to 158. 2023-03-21 14:11:43 +03:00
levlam
bb28f308ef Always return simple InputPeer. 2023-04-05 20:59:48 +03:00
levlam
d1c25f2135 Fix compilation error. 2023-04-04 16:39:20 +03:00
levlam
fd217d1b3e Add more BufferedFd logging. 2023-04-04 15:31:40 +03:00
levlam
55223c394f Fix misprint. 2023-04-03 12:15:44 +03:00
levlam
fb4d0daa2f Improve names of some variables. 2023-04-03 01:24:43 +03:00