Commit Graph

9927 Commits

Author SHA1 Message Date
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
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
07a29ef56b Move chat suggested actions to DialogManager. 2024-03-23 23:15:04 +03:00
levlam
4227491ef4 Move on_get_permanent_dialog_invite_link to DialogInviteLinkManager. 2024-03-22 00:58:08 +03:00
levlam
33ad5964ef Add loaded from database local backgrounds to cache. 2024-03-21 19:15:03 +03:00
levlam
c3dcbfc967 Assign same identifier to the same local background. 2024-03-21 18:50:23 +03:00
levlam
1d6e7afcdf Compare local backgrounds only by type. 2024-03-20 00:01:10 +03:00
levlam
e1d1e38606 Improve BackgroundInfo logging. 2024-03-19 17:51:24 +03:00
levlam
649b8cef01 Pass ChannelId to can_get_channel_story_statistics. 2024-03-18 00:03:00 +03:00
levlam
95e86d3cf3 Pass ChannelId to can_get_channel_message_statistics. 2024-03-17 23:47:47 +03:00
levlam
5a00fb2ba3 Move migrate_dialog_to_megagroup to DialogManager. 2024-03-16 21:47:42 +03:00
levlam
723ec5a203 Improve includes. 2024-03-15 14:12:43 +03:00
levlam
85e7229192 Fix parameter name. 2024-03-14 14:27:04 +03:00
levlam
2f2dbc30cd Move some methods to ChannelRecommendationManager. 2024-03-13 15:40:19 +03:00
levlam
407bb811b3 Add ChannelRecommendationManager. 2024-03-13 14:06:14 +03:00
levlam
44b42cc659 Support visionOS in TDLib. 2024-03-11 22:47:54 +03:00
levlam
2c61318a11 Move some methods to PeopleNearbyManager. 2024-03-11 01:42:08 +03:00
levlam
1e6c1dbb12 Add empty PeopleNearbyManager. 2024-03-11 01:08:29 +03:00
levlam
1fba0f0c84 Move can_use_premium_custom_emoji to DialogManager. 2024-03-10 03:15:01 +03:00
levlam
919a1d8329 Move on_update_bot_commands to DialogManager. 2024-03-09 23:35:12 +03:00
levlam
b1b33cf427 Fix compilation error. 2024-03-08 23:32:57 +03:00
levlam
b3b63bbdc1 Update version to 1.8.26. 2024-03-08 14:33:22 +03:00
levlam
52d9ac02ba Split business opening hours by week days. 2024-03-08 14:14:28 +03:00
levlam
64094e17c0 Sanitize business work hours. 2024-03-08 13:03:23 +03:00
levlam
046ed45152 Various fixes. 2024-03-07 14:09:31 +03:00
levlam
6e44c27db0 Improve includes. 2024-03-07 13:56:57 +03:00
levlam
d08ad22a2b Use explicit cast. 2024-03-07 12:03:22 +03:00
levlam
a1bcec491d Fix QuickReplyManager::get_shortcut_it. 2024-03-06 17:05:30 +03:00
levlam
2d43bdf03c Fix query promise. 2024-03-06 16:52:54 +03:00
levlam
bc1a8d2bc2 Add quickReplyMessage.reply_markup. 2024-03-06 15:56:50 +03:00
levlam
06831c2836 Return null as businessInfo if empty. 2024-03-06 15:11:16 +03:00
levlam
b255a21733 Fix chat folder tags. 2024-03-05 23:27:56 +03:00