Commit Graph

9937 Commits

Author SHA1 Message Date
levlam
4f916a4d8e Add BotInfoManager. 2023-04-16 23:12:28 +03:00
levlam
cbe62e306d Improve log message. 2023-04-16 21:09:51 +03:00
levlam
b171040808 Fix secret chat creation. 2023-04-15 11:39:22 +03:00
levlam
cfe57dbd60 Add td_api::readChatList. 2023-04-14 15:17:25 +03:00
levlam
d302dbd241 Add MessagesManager::read_dialog_inbox. 2023-04-14 14:55:59 +03:00
levlam
598ba5422f Add MessagesManager::get_chat_ids_object. 2023-04-14 13:38:25 +03:00
levlam
cfc46b1893 Load chat with its info if appropriate. 2023-04-13 23:13:38 +03:00
levlam
e1eff4a06a Add MessagesManager::get_chat_id_object for checking chat_id before returning it. 2023-04-13 22:41:22 +03:00
levlam
50effcbaf4 Immediately delete chat background on removing it. 2023-04-13 20:10:44 +03:00
levlam
d597764a50 Improve switching between user and channel in voice chat. 2023-04-13 17:06:02 +03:00
levlam
a21b49ddfd Avoid rare PTS getDifference after logging in. 2023-04-12 12:06:28 +03:00
levlam
e85a83ffb7 Don't add muted by admin users to recent speakers. 2023-04-12 11:24:06 +03:00
levlam
19502cbe15 Remove separate td_api::hideChatFolderNewChats. 2023-04-12 01:52:36 +03:00
levlam
9ebadf508c Fix handling of min users. 2023-04-12 01:45:29 +03:00
levlam
e0bee7757b Improve get_message_user_ids and get_message_channel_ids. 2023-04-12 01:33:48 +03:00
levlam
b4d6b68195 Replace dark_theme_brightness with dark_theme_dimming. 2023-04-12 00:59:53 +03:00
levlam
5df2f3c141 Add inputBackgroundPrevious. 2023-04-12 00:02:42 +03:00
levlam
b130306ce7 Add td_api::setChatBackground. 2023-04-11 17:46:55 +03:00
levlam
0ce6dc6834 Allow nullptr in BackgroundType::get_background_type. 2023-04-10 20:53:45 +03:00
levlam
45dd4eed9a tg_cli: add class BackgroundType. 2023-04-10 20:22:10 +03:00
levlam
456129935e tg_cli: add as_wallpaper_background. 2023-04-10 19:45:15 +03:00
levlam
23e7d8fad1 tg_cli: add class InputBackground. 2023-04-10 19:41:54 +03:00
levlam
00ed2f85b8 Support dark_theme_brightness for chat backgrounds. 2023-04-10 18:45:26 +03:00
levlam
13d0536db1 Add chat.background. 2023-04-10 17:23:21 +03:00
levlam
64b2cb4e12 Add class BackgroundInfo. 2023-04-10 16:32:59 +03:00
levlam
10562f5bac Add pushMessageContentChatSetBackground. 2023-04-10 15:14:03 +03:00
levlam
0823c902bd Add td_api::messageChatSetBackground. 2023-04-10 14:12:35 +03:00
levlam
4c27e92006 Add "chat_folder_invite_link_count_max" and "added_shareable_chat_folder_count_max" options. 2023-04-10 12:46:16 +03:00
levlam
90967ba8cf Improve source in get_channel_full_force. 2023-04-09 23:47:47 +03:00
levlam
bef7184566 Improve have_input_peer for bots. 2023-04-09 23:00:44 +03:00
levlam
a52b6f025f Add td_api::getChatsForChatFolderInviteLink. 2023-04-09 21:54:40 +03:00
levlam
33ac156bc0 Increase appConfig version. 2023-04-09 01:50:02 +03:00
levlam
d6b53d61fc Use request promise in td_api::getChatFolder. 2023-04-09 01:35:42 +03:00
levlam
5872f0951a Use bigger delay for secret chat accepting on desktops. 2023-04-08 23:49:47 +03:00
levlam
d986f0237c Return error if no chat types are allowed. 2023-04-07 16:11:19 +03:00
levlam
b4676dc57a Various fixes. 2023-04-07 16:02:31 +03:00
levlam
2a70fec0b0 Add inlineKeyboardButtonTypeSwitchInline.target_chat. 2023-04-07 14:00:10 +03:00
levlam
6fde8184af Improve SetBotInfoQuery. 2023-04-07 01:15:16 +03:00
levlam
9b089bc194 Improve on_set_profile_photo. 2023-04-07 00:53:13 +03:00
levlam
aebf904513 Various chat folder fixes. 2023-04-06 23:15:22 +03:00
levlam
a6b0835b84 Add "chat_folder_new_chats_update_period" option. 2023-04-06 14:58:46 +03:00
levlam
6cef99b3eb Add two new premiumLimitTypes. 2023-04-06 14:24:14 +03:00
levlam
82382ce416 Improve documentation. 2023-04-05 21:30:14 +03:00
levlam
cc062c6b11 Update folder invite links format. 2023-04-05 19:56:05 +03:00
levlam
f431c8ba5a Add td_api::hideChatFolderNewChats. 2023-04-05 19:43:58 +03:00
levlam
758926bbed Add td_api::addChatFolderNewChats. 2023-04-04 16:35:31 +03:00
levlam
e6cc743c33 Add td_api::getChatFolderNewChats. 2023-04-04 16:21:31 +03:00
levlam
19e15f283c Improve checkChatUsernameResultUsernamePurchasable detection. 2023-04-03 21:33:04 +03:00
levlam
2e5bab9c48 Add messageGiftedPremium.gifter_user_id. 2023-04-03 21:20:41 +03:00
levlam
e4717bae0e Send updateUserFullInfo when bot edit links are changed. 2023-04-03 21:04:22 +03:00