Commit Graph

12696 Commits

Author SHA1 Message Date
levlam
b13e6288e9 Prefer animated stickers in searchStickers again. 2024-03-16 22:39:50 +03:00
levlam
6306a595d8 Allow methods for sticker set management for regular users. 2024-03-15 23:47:55 +03:00
levlam
b15bf856e2 Update thumbnail type only if it exists. 2024-03-15 23:35:16 +03:00
levlam
a067bec93e Improve documentation for mixed-format sticker sets. 2024-03-15 23:29:56 +03:00
levlam
626e76fa90 Guess sticker format based on existing stickers for backward compatibility. 2024-03-15 21:35:24 +03:00
levlam
031010105a Correctly update thumbnails of stored in the database sticker sets. 2024-03-15 21:20:47 +03:00
levlam
9c7e0f6b22 Move sticker_format to inputSticker. 2024-03-15 21:08:30 +03:00
levlam
ce124d1a40 Support mixed-format sticker sets. 2024-03-15 15:24:59 +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
1b448b93e5 Add and use MessageInputReplyTo::clone(). 2024-03-13 16:08:49 +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
9dc83f2594 tg_cli: add updateNewBusinessMessage handling. 2024-03-12 14:39:03 +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
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
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
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
1c3e904d01 Fix invokeWithBusinessConnectionPrefix. 2024-03-08 00:37:12 +03:00
levlam
2bb5206c6a tg_cli: support global business connection. 2024-03-08 00:21:22 +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
4bc3b380b8 Support sending of queries with a prefix. 2024-03-07 18:37:28 +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
c54e2429b0 Process new QTS updates. 2024-03-07 16:41:30 +03:00
levlam
bb683c2988 Add empty BusinessConnectionManager. 2024-03-07 15:44:15 +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
fe627bc7ba Fix misprint. 2024-03-26 00:03:39 +03:00
levlam
7257229226 Document maximum video note duration. 2024-03-25 23:09:03 +03:00
levlam
586bc78413 Suppress GCC 13 warning. 2024-03-25 00:01:32 +03:00
levlam
fcfdd26a27 Remove --update-cache parameter from Alpine build instructions. 2024-03-24 20:36:57 +03:00
levlam
07a29ef56b Move chat suggested actions to DialogManager. 2024-03-23 23:15:04 +03:00