Commit Graph

27 Commits

Author SHA1 Message Date
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