Commit Graph

3385 Commits

Author SHA1 Message Date
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
levlam
8770955522 Improve function name. 2024-03-11 14:19:08 +03:00
levlam
75d0114c5f Add message.sender_business_bot_user_id. 2024-03-09 03:08:19 +03:00
levlam
b9891e0871 Add td_api::updateNewBusinessMessage. 2024-03-09 02:14:02 +03:00
levlam
bf3e25def0 Make MessagesManager::create_message static. 2024-03-08 22:19:22 +03:00
levlam
e46e342eba Make parse_telegram_api_message static. 2024-03-08 22:11:50 +03:00
levlam
e6b9f2eb07 Support sendChatAction for business connections. 2024-03-07 23:05:58 +03:00
levlam
bce17cb5d8 Update layer to 177. 2024-03-07 15:24:28 +03:00
levlam
11a35768b7 Fix some plural spelling. 2024-03-28 02:03:03 +03:00
levlam
f195fcd6db Fix misprinted triple characters. 2024-03-27 22:25:58 +03:00
levlam
95e86d3cf3 Pass ChannelId to can_get_channel_message_statistics. 2024-03-17 23:47:47 +03:00
levlam
046ed45152 Various fixes. 2024-03-07 14:09:31 +03:00
levlam
bc1a8d2bc2 Add quickReplyMessage.reply_markup. 2024-03-06 15:56:50 +03:00
levlam
bd97e81c32 Add td_api::sendQuickReplyShortcutMessages. 2024-03-05 13:08:26 +03:00