Commit Graph

40 Commits

Author SHA1 Message Date
levlam
c9c458b1c6 Support message effects in sendBusinessMessage. 2024-05-09 19:18:17 +03:00
levlam
22ebe2c7bf Update layer to 181. 2024-05-06 19:14:42 +03:00
levlam
337b193026 Minor improvements. 2024-04-25 16:37:20 +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
01e30e5263 Various fixes. 2024-04-21 02:24:11 +03:00
levlam
f3385d6cb7 Improve edit of quick reply messages. 2024-04-21 02:07:16 +03:00
levlam
4c72dc8ec5 Add and use FileManager::try_merge_documents. 2024-04-18 00:21:17 +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
0b4f0b1657 Destroy business_connections_ asynchronously. 2024-03-31 18:40:09 +03:00
levlam
5bc00fa834 Fix source. 2024-03-31 18:34:25 +03:00
levlam
020415f736 Various fixes. 2024-03-31 18:30:18 +03:00
levlam
25f87a39ac Improve custom emoji checks and business messages processing. 2024-03-29 15:52:03 +03:00
levlam
facb3a43e5 Support updateBusinessConnection in getCurrentState. 2024-03-18 22:01:50 +03:00
levlam
7a4f77cc30 Process sent business message albums. 2024-03-18 16:51:16 +03:00
levlam
79967ca006 Process sent business messages. 2024-03-18 15:16:11 +03:00
levlam
630762e511 Support reply to messages in business messages. 2024-03-17 00:19:24 +03:00
levlam
c4ceac218f Add businessConnection.user_chat_id. 2024-03-14 15:21:19 +03:00
levlam
dfec531af2 Improve td_api::businessConnection's field name. 2024-03-14 14:50:51 +03:00
levlam
74b62ccbf4 Add td_api::sendBusinessMessageAlbum. 2024-03-13 17:44:00 +03:00
levlam
6650e2e91c Support repair of missing file parts for UploadBusinessMedia. 2024-03-13 13:27:16 +03:00
levlam
13eed05a3d Support upload by URL in UploadBusinessMedia. 2024-03-13 13:02:22 +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
2ec98338f4 Use AccessRights::Know to get business input peer. 2024-03-12 14:16:47 +03:00
levlam
d3de4a16e4 Support SendBusinessMediaQuery. 2024-03-12 01:29:35 +03:00
levlam
0f98e748a8 Add td_api::sendBusinessMessage. 2024-03-11 21:27:16 +03:00
levlam
e717e25a1d Expect valid business_connection_id in check_business_connection. 2024-03-11 18:38:03 +03:00
levlam
985cbf1a31 Add td_api::updateBusinessMessagesDeleted. 2024-03-11 16:41:19 +03:00
levlam
bcceb9f623 Add td_api::updateBusinessMessageEdited. 2024-03-09 02:17:00 +03:00
levlam
b9891e0871 Add td_api::updateNewBusinessMessage. 2024-03-09 02:14:02 +03:00
levlam
e6b9f2eb07 Support sendChatAction for business connections. 2024-03-07 23:05:58 +03:00
levlam
c2130b3d3b Ensure that business connections are created only for bots. 2024-03-07 22:49:23 +03:00
levlam
f2687a31dc Check chat identifier along with business connection identifier. 2024-03-07 20:59:06 +03:00
levlam
967829d14b Add class BusinessConnectionId. 2024-03-07 20:18:04 +03:00
levlam
0a703fb8c2 Add BusinessConnectionManager::check_business_connection_id. 2024-03-07 20:03:12 +03:00
levlam
f78a0e4326 Add td_api::getBusinessConnection. 2024-03-07 18:02:30 +03:00
levlam
74cf61d401 Add td_api::updateBusinessConnection. 2024-03-07 17:18:11 +03:00
levlam
bb683c2988 Add empty BusinessConnectionManager. 2024-03-07 15:44:15 +03:00