levlam
|
4c72dc8ec5
|
Add and use FileManager::try_merge_documents.
|
2024-04-18 00:21:17 +03:00 |
|
levlam
|
ce50d0519f
|
Don't add twice the same sent message.
|
2024-04-18 00:10:13 +03:00 |
|
levlam
|
23d845eabd
|
Don't create duplicate quick reply shortcuts.
|
2024-04-17 21:36:47 +03:00 |
|
levlam
|
5becaaa838
|
Support quick reply file upload.
|
2024-04-17 21:29:58 +03:00 |
|
levlam
|
33f5552a18
|
Implement QuickReplyManager::on_failed_send_quick_reply_messages.
|
2024-04-17 19:29:50 +03:00 |
|
levlam
|
6a2c579bb1
|
Disallow live locations in quick replies.
|
2024-04-17 19:08:42 +03:00 |
|
levlam
|
8e99a8dba1
|
Add td_api::addQuickReplyShortcutMessage and support adding of quick replies without media.
|
2024-04-17 18:39:25 +03:00 |
|
levlam
|
8e4a241c7f
|
Don't send empty DeleteQuickReplyMessagesQuery.
|
2024-04-17 14:31:36 +03:00 |
|
levlam
|
48be50a0e3
|
Improve combine_work_hour_intervals.
|
2024-04-16 23:38:30 +03:00 |
|
levlam
|
05866446dc
|
Add QuickReplyManager::add_local_message.
|
2024-04-16 00:53:48 +03:00 |
|
levlam
|
f3d655f1ac
|
Create local qucik reply shortcut if it doesn't exist yet.
|
2024-04-15 23:36:27 +03:00 |
|
levlam
|
d8a50a3ef0
|
Add QuickReplyManager::process_input_message_content.
|
2024-04-15 23:12:22 +03:00 |
|
levlam
|
5d984efdd3
|
Add QuickReplyManager::get_input_reply_to_message_id.
|
2024-04-15 22:55:26 +03:00 |
|
levlam
|
a7dca7a744
|
Add QuickReplyManager::check_new_shortcut_name function.
|
2024-04-15 22:41:36 +03:00 |
|
levlam
|
dad721ad47
|
Improve documentation.
|
2024-04-15 21:32:58 +03:00 |
|
levlam
|
90d4e3a6d3
|
Improve sending of quick reply voice messages to users that forbidden that.
|
2024-04-15 20:36:23 +03:00 |
|
levlam
|
298d16c150
|
Use MessagesManager::check_dialog_access.
|
2024-04-15 18:08:30 +03:00 |
|
levlam
|
575acc5485
|
Use check_dialog_access_in_memory if appropriate.
|
2024-04-15 17:33:05 +03:00 |
|
levlam
|
c4e1a44a5c
|
Add MessagesManager::check_dialog_access.
|
2024-04-15 17:28:13 +03:00 |
|
levlam
|
be7434dbf3
|
Fix chatRevenueWithdrawalStateCompleted.
|
2024-04-15 15:32:45 +03:00 |
|
levlam
|
723ba8978d
|
Use messages.affectedMessages.pts even if pts_count == 0.
|
2024-04-15 02:55:53 +03:00 |
|
levlam
|
14b4666423
|
Use DialogManager::check_dialog_access when appropriate.
|
2024-04-15 02:32:04 +03:00 |
|
levlam
|
e0a7ff6c53
|
Add DialogManager::check_dialog_access.
|
2024-04-15 01:23:14 +03:00 |
|
levlam
|
c0ed8f09b0
|
Add explicit allow_secret_chats to have_input_peer.
|
2024-04-14 22:59:05 +03:00 |
|
levlam
|
5d16b620aa
|
Ignore can_have_sponsored_messages for old channels.
|
2024-04-13 21:47:48 +03:00 |
|
levlam
|
3620b06df2
|
Add td_api::sendPhoneNumberFirebaseSms.
|
2024-04-13 20:42:41 +03:00 |
|
levlam
|
25958fb406
|
Combine phone number verification methods into a single API method.
|
2024-04-13 20:25:05 +03:00 |
|
levlam
|
99d8de1e88
|
Rewrite PhoneNumberManager as regular manager.
|
2024-04-13 19:10:52 +03:00 |
|
levlam
|
5bf1142506
|
Remove PhoneNumberManager::get_state.
|
2024-04-13 02:05:43 +03:00 |
|
levlam
|
1c99870d6e
|
Don't allow to directly search for greeting stickers.
|
2024-04-12 03:24:11 +03:00 |
|
levlam
|
c368bd0f38
|
Remove unused limit in getGreetingStickers.
|
2024-04-12 03:16:10 +03:00 |
|
levlam
|
5143d3fb6f
|
Add td_api::getGreetingStickers.
|
2024-04-12 02:57:29 +03:00 |
|
levlam
|
9243f51ff9
|
Add SendQuickReplyShortcutMessagesLogEvent.
|
2024-04-12 02:10:55 +03:00 |
|
levlam
|
1bb4a2007b
|
Add td_api::internalLinkTypeBusinessChat.
|
2024-04-12 01:01:26 +03:00 |
|
levlam
|
1806799357
|
Add td_api::getBusinessChatLinkInfo.
|
2024-04-12 00:45:32 +03:00 |
|
levlam
|
9d95eb4a68
|
Add td_api::deleteBusinessChatLink.
|
2024-04-11 22:19:44 +03:00 |
|
levlam
|
1d77c95fb2
|
Add td_api::editBusinessChatLink.
|
2024-04-11 21:41:28 +03:00 |
|
levlam
|
c0abb6348b
|
Add "business_chat_link_count_max" option.
|
2024-04-11 21:18:57 +03:00 |
|
levlam
|
8e35a2477c
|
Add td_api::createBusinessChatLink.
|
2024-04-11 01:43:42 +03:00 |
|
levlam
|
c9224b24ab
|
Add InputBusinessChatLink.
|
2024-04-11 01:07:03 +03:00 |
|
levlam
|
c4b42c2678
|
Add td_api::getBusinessChatLinks.
|
2024-04-10 18:29:43 +03:00 |
|
levlam
|
de881cce99
|
Add td_api::businessChatLink.
|
2024-04-10 18:19:39 +03:00 |
|
levlam
|
6c2becce09
|
Remove updateAddChatMembersPrivacyForbidden: use USER_PRIVACY_RESTRICTED error message instead.
|
2024-04-10 09:52:21 +03:00 |
|
levlam
|
a784e6fe14
|
Improve getChatBoostFeatures.
|
2024-04-10 08:34:29 +03:00 |
|
levlam
|
023ee09714
|
Return failed to add chat members when adding members to a chat.
|
2024-04-09 17:01:51 +03:00 |
|
levlam
|
27721159bd
|
Return failed to add members in createNewBasicGroupChat.
|
2024-04-09 16:19:33 +03:00 |
|
levlam
|
69257ffa6a
|
Add td_api::failedToAddMember.
|
2024-04-09 16:03:58 +03:00 |
|
levlam
|
ecea209a6b
|
Support draft_text in private chat links.
|
2024-04-09 01:54:55 +03:00 |
|
levlam
|
cf06ac0d4b
|
Improve updateSpeedLimitNotification documentation.
|
2024-04-08 20:24:24 +03:00 |
|
levlam
|
33073a5022
|
Add td_api::updateSpeedLimitNotification.
|
2024-04-08 20:18:48 +03:00 |
|
levlam
|
8b440b6761
|
Add internal "upload_premium_speedup_notify_period" option.
|
2024-04-08 19:21:52 +03:00 |
|
levlam
|
958ad4e4eb
|
Add "premium_download_speedup" and "premium_upload_speedup" options.
|
2024-04-08 19:18:21 +03:00 |
|
levlam
|
62e4c3263f
|
Improve documentation.
|
2024-04-08 18:14:45 +03:00 |
|
levlam
|
9e4cda7133
|
Rename business intro to start page.
|
2024-04-08 03:29:57 +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
|
a760e92cf3
|
Fix misprint by @zevlg.
|
2024-04-05 19:10:59 +03:00 |
|
levlam
|
5ea94725d7
|
Add "can_withdraw_channel_revenue" option.
|
2024-04-05 17:26:18 +03:00 |
|
levlam
|
701011ab86
|
Add td_api::getChatRevenueWithdrawalUrl.
|
2024-04-05 16:41:35 +03:00 |
|
levlam
|
baa7fe8598
|
Add td_api::ChatRevenueWithdrawalState.
|
2024-04-05 15:59:54 +03:00 |
|
levlam
|
5f1938906e
|
Add td_api::ChatRevenueTransactionType.
|
2024-04-05 15:45:33 +03:00 |
|
levlam
|
4f65363ef8
|
Add td_api::getChatRevenueTransactions.
|
2024-04-04 13:55:24 +03:00 |
|
levlam
|
520062085d
|
Add td_api::getChatRevenueStatistics.
|
2024-04-03 16:49:51 +03:00 |
|
levlam
|
6848380bb7
|
Add supergroupFullInfo.can_get_revenue.
|
2024-04-03 05:13:19 +03:00 |
|
levlam
|
cfadebfab4
|
tg_cli: reduce if-else chain length.
|
2024-04-02 22:46:15 +03:00 |
|
levlam
|
6cd0e7e5aa
|
Allow checkChatUsername for self without chat with self.
|
2024-04-02 22:31:37 +03:00 |
|
levlam
|
006be4d564
|
Reload contact birthdays only if mutual contact changes.
|
2024-04-02 22:27:53 +03:00 |
|
levlam
|
844d7a505a
|
Add callStateReady.custom_parameters.
|
2024-04-02 15:22:19 +03:00 |
|
levlam
|
25574476a3
|
Add td_api::toggleSupergroupCanHaveSponsoredMessages.
|
2024-04-02 15:17:31 +03:00 |
|
levlam
|
2bec18d95d
|
Add disable sponsored messages boost feature.
|
2024-04-02 14:49:26 +03:00 |
|
levlam
|
67d42c5e14
|
Add internal option "channel_restrict_sponsored_level_min".
|
2024-04-02 14:36:38 +03:00 |
|
levlam
|
b987e84d54
|
Add supergroupFullInfo.can_have_sponsored_messages.
|
2024-04-02 14:32:00 +03:00 |
|
levlam
|
bd8c6be0cd
|
Rename rest of ContactsManager to ChatManager.
|
2024-04-02 13:06:22 +03:00 |
|
levlam
|
9482eb6ede
|
Return back call to UserManager::get_current_state.
|
2024-04-02 04:13:51 +03:00 |
|
levlam
|
03a624903e
|
Move relevant functions to UserManager.
|
2024-04-02 03:52:34 +03:00 |
|
levlam
|
6010475d26
|
Add empty UserManager.
|
2024-04-01 15:05:02 +03:00 |
|
levlam
|
efc6bd553b
|
Update version to 1.8.27.
|
2024-03-31 19:24:45 +03:00 |
|
levlam
|
cd25b29452
|
Fix SharedDialog.
|
2024-03-31 19:24:00 +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
|
f577c1564e
|
Fix GCC compilation error.
|
2024-03-31 04:10:28 +03:00 |
|
levlam
|
bdbf9adb17
|
Save and load suggested actions to and from binlog.
|
2024-03-31 01:10:26 +03:00 |
|
levlam
|
3cbe6c494e
|
Add parser/storer for SuggestedAction.
|
2024-03-31 00:35:02 +03:00 |
|
levlam
|
7266a0e3b8
|
Improve documentation.
|
2024-03-30 14:04:25 +03:00 |
|
levlam
|
0a21620194
|
Remove extract_group_invite_privacy_forbidden_updates.
|
2024-03-30 02:56:24 +03:00 |
|
levlam
|
cfeed162e9
|
Add updateContactCloseBirthdays.
|
2024-03-29 22:29:37 +03:00 |
|
levlam
|
e9794b9215
|
Reget config after account phone number is changed.
|
2024-03-29 17:37:44 +03:00 |
|
levlam
|
fd1d1dbb6c
|
Add "can_set_new_chat_privacy_settings" option.
|
2024-03-29 16:51:53 +03:00 |
|
levlam
|
2930b87c86
|
Update "can_use_text_entities_in_story_caption" with other Premium options.
|
2024-03-29 16:31:49 +03:00 |
|
levlam
|
c3de12ec17
|
Improve documentation for duration fields.
|
2024-03-29 15:53:46 +03:00 |
|
levlam
|
25f87a39ac
|
Improve custom emoji checks and business messages processing.
|
2024-03-29 15:52:03 +03:00 |
|
levlam
|
b741472942
|
Add td_api::businessFeaturePromotionAnimation.
|
2024-03-29 13:31:47 +03:00 |
|
levlam
|
260b9cdf9e
|
Add td_api::premiumFeatureBusiness.
|
2024-03-29 11:28:48 +03:00 |
|
levlam
|
e5d7108f1a
|
Log unsupported premium features.
|
2024-03-29 11:25:06 +03:00 |
|
levlam
|
a042122b7a
|
Add source to get_chat_type_object.
|
2024-03-29 11:19:50 +03:00 |
|
levlam
|
ba89fef472
|
Add td_api::premiumSourceBusinessFeature.
|
2024-03-29 03:20:56 +03:00 |
|
levlam
|
4c14af9b52
|
Add td_api::getBusinessFeatures.
|
2024-03-29 03:17:46 +03:00 |
|
levlam
|
e895a46ed5
|
Add "business_features" internal option.
|
2024-03-29 01:14:59 +03:00 |
|
levlam
|
01b7a0e14b
|
Add td_api::setPersonalChat.
|
2024-03-29 00:46:05 +03:00 |
|
levlam
|
66522165ca
|
Add td_api::getSuitablePersonalChats.
|
2024-03-29 00:12:54 +03:00 |
|
levlam
|
93663c2542
|
Improve maintaining of created public broadcasts.
|
2024-03-28 23:56:06 +03:00 |
|
levlam
|
d7f7a6d87b
|
Add PublicDialogType::ForPersonalDialog.
|
2024-03-28 23:39:26 +03:00 |
|
levlam
|
6121755719
|
Fix video note length check.
|
2024-03-28 23:22:21 +03:00 |
|
levlam
|
98033937cc
|
Explicitly specify 'template ' for fetch_string.
|
2024-03-28 20:03:31 +03:00 |
|
levlam
|
a9d5078f66
|
Increase MessageUnsupported version.
|
2024-03-28 19:11:27 +03:00 |
|
levlam
|
e1f7a1331d
|
Fetch last message of the personal channel if needed.
|
2024-03-28 18:58:45 +03:00 |
|
levlam
|
877e3329fe
|
Add userFullInfo.personal_chat_id.
|
2024-03-28 18:38:52 +03:00 |
|
levlam
|
15c3bbdef8
|
Add td_api::reportChatSponsoredMessage.
|
2024-03-28 18:24:39 +03:00 |
|
levlam
|
f9859493d4
|
Add userTypeBot.can_connect_to_business.
|
2024-03-28 16:29:54 +03:00 |
|
levlam
|
632f1aaec6
|
Add sponsoredMessage.can_be_reported.
|
2024-03-23 23:52:06 +03:00 |
|
levlam
|
7ea8f7085d
|
Dismiss SetBirthdate suggested action when birthdate is set.
|
2024-03-23 23:41:22 +03:00 |
|
levlam
|
323e82d099
|
Improve condition for using full type name.
|
2024-03-22 22:55:32 +03:00 |
|
levlam
|
8bf00d067f
|
Don't allow to change my_id.
|
2024-03-22 16:23:31 +03:00 |
|
levlam
|
be197d6ec3
|
Add source to reload_reaction_list.
|
2024-03-22 15:57:46 +03:00 |
|
levlam
|
fa8c88033a
|
Add td_api::suggestedActionSetBirthdate.
|
2024-03-22 14:55:23 +03:00 |
|
levlam
|
e077f1dd09
|
Add additional request users/chat flags.
|
2024-03-22 14:16:49 +03:00 |
|
levlam
|
4e51567a8c
|
Add RequestedDialogType::get_input_keyboard_button_request_peer.
|
2024-03-22 14:13:57 +03:00 |
|
levlam
|
21bda74636
|
Improve getCollectibleItemInfo documentation.
|
2024-03-22 12:28:06 +03:00 |
|
levlam
|
f7db1f1e32
|
Add MessageContentType::DialogShared.
|
2024-03-22 00:43:18 +03:00 |
|
levlam
|
9f0cf95027
|
Document that a sticker set can have up to 120 stickers.
|
2024-03-21 22:29:10 +03:00 |
|
levlam
|
35124395a4
|
Use sharedUser/sharedChat in messageUserShared/messageChatShared.
|
2024-03-21 22:00:36 +03:00 |
|
levlam
|
cfa47d5283
|
Add td_api::sharedUser/sharedChat.
|
2024-03-21 21:53:39 +03:00 |
|
levlam
|
ee030cf5f7
|
Don't add standalone stickers to recent when they are sent.
|
2024-03-21 15:43:00 +03:00 |
|
levlam
|
c3e0a8022a
|
Allow to add arbitrary WEBM stickers to recent and favorite.
|
2024-03-21 15:38:48 +03:00 |
|
levlam
|
5acff85fa9
|
Handle MESSAGE_IDS_MISMATCH errors.
|
2024-03-21 15:13:03 +03:00 |
|
levlam
|
0fe2ceb4c5
|
Improve chatFolder.color_id documentation.
|
2024-03-21 15:09:15 +03:00 |
|
levlam
|
b5bbe4cc91
|
Improve setBusinessOpeningHours documentation.
|
2024-03-21 15:03:26 +03:00 |
|
levlam
|
f57e2a496f
|
Add td_api::userPrivacySettingShowBirthdate.
|
2024-03-21 14:35:27 +03:00 |
|
levlam
|
ee2bdcfd1d
|
Add td_api::userPrivacySettingRuleAllowPremiumUsers.
|
2024-03-21 14:31:41 +03:00 |
|
levlam
|
f361989c05
|
Add td_api::setBirthdate.
|
2024-03-21 14:04:40 +03:00 |
|
levlam
|
9b55b61983
|
Add userFullInfo.birthdate.
|
2024-03-20 23:56:03 +03:00 |
|
levlam
|
9255d32af1
|
Remove *_FULL flags.
|
2024-03-20 23:25:38 +03:00 |
|
levlam
|
7d0c93fcd9
|
Add td_api::birthdate.
|
2024-03-20 23:13:00 +03:00 |
|
levlam
|
7db0e34990
|
Register BusinessIntro files.
|
2024-03-20 19:40:10 +03:00 |
|
levlam
|
0e4dc27542
|
Add BusinessInfo dependencies.
|
2024-03-20 19:26:17 +03:00 |
|
levlam
|
9913390bfe
|
Support businessRecipients.excluded_chat_ids.
|
2024-03-20 19:12:35 +03:00 |
|
levlam
|
49372ab4c2
|
Add message.is_from_offline flag.
|
2024-03-20 18:54:04 +03:00 |
|
levlam
|
f7ab032976
|
Add td_api::getCollectibleItemInfo.
|
2024-03-20 17:55:27 +03:00 |
|
levlam
|
22d2f6a98d
|
Add td_api::getOwnedStickerSets.
|
2024-03-20 15:41:49 +03:00 |
|
levlam
|
1c029b8b54
|
Use "owned" instead of "created" for sticker sets.
|
2024-03-20 14:13:53 +03:00 |
|
levlam
|
fad7d022fb
|
Add td_api::replaceStickerInSet.
|
2024-03-20 13:49:01 +03:00 |
|
levlam
|
87c9cc1db5
|
Add "business_intro_title_length_max" and "business_intro_message_length_max" options.
|
2024-03-19 15:31:17 +03:00 |
|
levlam
|
188a165938
|
Add td_api::setBusinessIntro.
|
2024-03-19 14:52:52 +03:00 |
|
levlam
|
e774ddab6e
|
Improve field name.
|
2024-03-19 14:42:40 +03:00 |
|
levlam
|
74b3c23e4b
|
Add intro to businessInfo.
|
2024-03-19 14:31:19 +03:00 |
|
levlam
|
dd0fb9486f
|
Add class BusinessIntro.
|
2024-03-18 23:46:08 +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
|
cf55275b7d
|
Allow to create sticker sets with suggested name for regular users.
|
2024-03-18 22:06:07 +03:00 |
|
levlam
|
facb3a43e5
|
Support updateBusinessConnection in getCurrentState.
|
2024-03-18 22:01:50 +03:00 |
|
levlam
|
4219c62ee2
|
Ignore business messages not from private chats.
|
2024-03-18 17:17:48 +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
|
444d47d440
|
tg_cli: get business connection when try to send a message to it.
|
2024-03-17 00:22:15 +03:00 |
|
levlam
|
630762e511
|
Support reply to messages in business messages.
|
2024-03-17 00:19:24 +03:00 |
|
levlam
|
af20344557
|
Add flag stickerSet,is_created.
|
2024-03-16 23:54:05 +03:00 |
|
levlam
|
4a0f15d77f
|
Improve documentation.
|
2024-03-16 23:38:44 +03:00 |
|
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
|
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 |
|
levlam
|
d1638a0fc4
|
Allow to add any WEBP sticker to favorite stickers.
|
2024-03-05 22:01:19 +03:00 |
|
levlam
|
ef636ea07c
|
Improve QuickReplyManager::update_shortcut_from.
|
2024-03-05 18:12:05 +03:00 |
|
levlam
|
b69eaf8669
|
Send update about quick reply messages only after shortcut updates.
|
2024-03-05 18:04:40 +03:00 |
|
levlam
|
85f8f5ec87
|
Improve QuickReplyManager::get_current_state.
|
2024-03-05 18:02:11 +03:00 |
|
levlam
|
a9ab6b739c
|
Disable QuickReplyManager for bots.
|
2024-03-05 17:58:40 +03:00 |
|
levlam
|
2e0d52f618
|
Ignore service and live location messages in quick replies.
|
2024-03-05 16:41:10 +03:00 |
|
levlam
|
e91b946015
|
Remove get_shortcut_it(const string &name).
|
2024-03-05 16:40:17 +03:00 |
|
levlam
|
eaba45ebcb
|
Load quick replies from database in more places.
|
2024-03-05 16:25:39 +03:00 |
|
levlam
|
401318d812
|
Reget messages with unsupported or legacy content.
|
2024-03-05 15:49:42 +03:00 |
|
levlam
|
dd06d5ccb2
|
Combine get_quick_reply_shortcuts and load_quick_reply_shortcuts.
|
2024-03-05 15:38:56 +03:00 |
|