Commit Graph

8097 Commits

Author SHA1 Message Date
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
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
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
levlam
375a024585 Remove redundant lambda creation. 2023-04-02 23:52:36 +03:00
levlam
6bc7c38e5f Add DialogId::get_chat_ids. 2023-04-01 23:37:36 +03:00
levlam
4ee61aae2b Improve error messages and documentation. 2023-03-31 15:01:38 +03:00
levlam
3be730b44a tg_cli: add ChatFilterId class. 2023-03-30 17:23:26 +03:00
levlam
2cac802e07 tg_cli: add InputChatPhoto. 2023-03-29 22:42:19 +03:00
levlam
c95598e5e1 Don't register users and channels for bots. 2023-03-27 12:05:32 +03:00
levlam
007e3d8d11 Fix get_input_peer for bots. 2023-03-27 12:02:39 +03:00
levlam
46a76fa9a8 Add CustomEmojiId::get_custom_emoji_ids. 2023-03-27 00:54:44 +03:00
levlam
881e74accb Add DialogId::get_dialog_ids. 2023-03-27 00:39:38 +03:00
AYMEN Mohammed
17e120d7ec
Fix typos. (#2365)
* Fix typos.

* Fix another typo. (by t.me/Mammad900)
2023-03-26 22:38:14 +03:00
levlam
eb664b4e9f Update version to 1.8.13. 2023-03-25 09:24:10 +03:00
AYMENJD
7d70dcc9a4 Improve authenticationCodeTypeSms documentation. 2023-03-25 09:02:55 +03:00
John Preston
f742a9710d Fix a type on viewMessages method documentation. 2023-03-25 09:01:45 +03:00
levlam
1ce9f9d27c Minor improvements. 2023-03-24 14:14:37 +03:00
levlam
1eb83f09d3 Improve documentation. 2023-03-23 18:52:34 +03:00
levlam
a511f1c56f Improve field names in DialogFilter. 2023-03-23 17:26:24 +03:00
levlam
b718933607 Don't drop is_outgoing message flag. 2023-03-23 16:54:18 +03:00
levlam
23c8ef2f63 Return error 404 from addApplicationChangelog if nothing was added. 2023-03-23 16:53:11 +03:00
levlam
cb27d4bd07 Make DialogFilter fields private. 2023-03-22 23:19:32 +03:00
levlam
f10fb4b6b5 Add and use DialogFilter::get_pinned_dialog_ids(). 2023-03-22 23:09:57 +03:00
levlam
7871a4192a Add DialogFilter::is_dialog_pinned. 2023-03-22 23:05:13 +03:00