Commit Graph

3398 Commits

Author SHA1 Message Date
levlam
0535cba37c Add source to send_update_new_chat. 2024-05-07 20:03:04 +03:00
levlam
486ecb8d70 Improve processing of already applied channel updates. 2024-05-02 21:35:25 +03:00
levlam
0b5da7fcd2 Reload chats with inaccessible users for bots. 2024-05-02 17:21:29 +03:00
levlam
a89be2370c Support live_period in editInlineMessageLiveLocation. 2024-05-02 16:32:44 +03:00
levlam
140c97f8ac Support live_period in edtiMessageLiveLocation. 2024-05-02 16:24:35 +03:00
levlam
379fdf85b7 Various improvements. 2024-04-30 20:48:24 +03:00
levlam
8515e24c17 Improve source in on_message_notification_changed. 2024-04-26 16:54:33 +03:00
levlam
b359b32080 Add searchMessages.only_in_channels. 2024-04-22 16:38:30 +03:00
levlam
6194fb4aa1 Support max_reaction_count setting. 2024-04-22 03:19:40 +03:00
levlam
4134f608af Update layer to 179. 2024-04-21 21:57:10 +03:00
levlam
0e1600ac7d Don't store copy of created public broadcasts in MessagesManager. 2024-04-30 14:07:06 +03:00
levlam
02a99f3c50 Add and use MessageQuote(td_api::inputTextQuote). 2024-04-25 16:18:07 +03:00
levlam
1f6fdd554a Add class MessageQuote and use it in MessageInputReplyTo and RepliedMessageInfo. 2024-04-25 15:52:19 +03:00
levlam
e08cf00efb Remove unused get_formatted_text parameters. 2024-04-23 20:04:38 +03:00
levlam
2ddab77b3e Fix some misprints. 2024-04-21 02:43:33 +03:00
levlam
f3385d6cb7 Improve edit of quick reply messages. 2024-04-21 02:07:16 +03:00
levlam
1221cccbdf Support quick reply media editing. 2024-04-20 18:57:32 +03:00
levlam
0f25201248 Use TRY_RESULT_PROMISE in edit_message_*. 2024-04-19 15:29:47 +03:00
levlam
4c72dc8ec5 Add and use FileManager::try_merge_documents. 2024-04-18 00:21:17 +03:00
levlam
298d16c150 Use MessagesManager::check_dialog_access. 2024-04-15 18:08:30 +03:00
levlam
c4e1a44a5c Add MessagesManager::check_dialog_access. 2024-04-15 17:28:13 +03:00
levlam
723ba8978d Use messages.affectedMessages.pts even if pts_count == 0. 2024-04-15 02:55:53 +03:00
levlam
c0ed8f09b0 Add explicit allow_secret_chats to have_input_peer. 2024-04-14 22:59:05 +03:00
levlam
9243f51ff9 Add SendQuickReplyShortcutMessagesLogEvent. 2024-04-12 02:10:55 +03:00
levlam
27721159bd Return failed to add members in createNewBasicGroupChat. 2024-04-09 16:19:33 +03:00
levlam
4c1fa3b45d Add td_api::removeBusinessConnectedBotFromChat. 2024-04-08 03:10:33 +03:00
levlam
69fd5333d7 Hide all business bot manage bars when changing business bot. 2024-04-08 02:45:54 +03:00
levlam
7aad37608f Add separate BusinessBotManageBar. 2024-04-08 02:37:52 +03:00
levlam
e7ff4688fc Add td_api::toggleBusinessConnectedBotChatIsPaused. 2024-04-07 22:45:55 +03:00
levlam
83a3190f2f Add action bar dependencies. 2024-04-07 01:59:13 +03:00
levlam
f9dfd502da Add td_api::chatActionBarManageBusinessBot. 2024-04-07 01:46:46 +03:00
levlam
4444f0e328 Log failed message edits. 2024-04-06 21:52:28 +03:00
levlam
bd8c6be0cd Rename rest of ContactsManager to ChatManager. 2024-04-02 13:06:22 +03:00
levlam
03a624903e Move relevant functions to UserManager. 2024-04-02 03:52:34 +03:00
levlam
0a21620194 Remove extract_group_invite_privacy_forbidden_updates. 2024-03-30 02:56:24 +03:00
levlam
a042122b7a Add source to get_chat_type_object. 2024-03-29 11:19:50 +03:00
levlam
93663c2542 Improve maintaining of created public broadcasts. 2024-03-28 23:56:06 +03:00
levlam
e1f7a1331d Fetch last message of the personal channel if needed. 2024-03-28 18:58:45 +03:00
levlam
5acff85fa9 Handle MESSAGE_IDS_MISMATCH errors. 2024-03-21 15:13:03 +03:00
levlam
49372ab4c2 Add message.is_from_offline flag. 2024-03-20 18:54:04 +03:00
levlam
b28e1d2fd8 Support via_bot_user_id in sendQuickReplyShortcutMessages. 2024-03-18 22:38:30 +03:00
levlam
dd69dcdfe3 Support server-side updateMessageID for messages.sendQuickReplyMessages. 2024-03-18 22:32:08 +03:00
levlam
4219c62ee2 Ignore business messages not from private chats. 2024-03-18 17:17:48 +03:00
levlam
630762e511 Support reply to messages in business messages. 2024-03-17 00:19:24 +03:00
levlam
1b448b93e5 Add and use MessageInputReplyTo::clone(). 2024-03-13 16:08:49 +03:00
levlam
c46af3318d Add FileManager::delete_partial_remote_location_if_needed. 2024-03-12 18:52:23 +03:00
levlam
4a64803805 Support media upload to business connection. 2024-03-12 16:26:43 +03:00
levlam
0f98e748a8 Add td_api::sendBusinessMessage. 2024-03-11 21:27:16 +03:00
levlam
171e254634 Improve process_message_send_options. 2024-03-11 15:56:38 +03:00
levlam
69dd255f3d Pass only chat type to get_reply_markup. 2024-03-11 15:08:17 +03:00