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
|
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
|
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
|
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
|
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
|
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
|
f7db1f1e32
|
Add MessageContentType::DialogShared.
|
2024-03-22 00:43:18 +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
|
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
|
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
|
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
|
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
|
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 |
|
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 |
|
levlam
|
3d397c1d35
|
Add load_quick_reply_shortcuts.
|
2024-03-05 15:30:57 +03:00 |
|
levlam
|
b53fca6284
|
Rename option to "quick_reply_shortcut_message_count_max".
|
2024-03-05 14:44:57 +03:00 |
|
levlam
|
f1c3bb5c33
|
Fix sending update about changed shortcut.
|
2024-03-05 14:41:35 +03:00 |
|
levlam
|
c4d92b3f00
|
Ignore edit_hide for quick replies.
|
2024-03-05 14:25:09 +03:00 |
|
levlam
|
8dcf5c4bca
|
Fix quick reply count updating.
|
2024-03-05 14:17:18 +03:00 |
|
levlam
|
f0b745b291
|
Save only server and local quick reply messages.
|
2024-03-05 13:42:21 +03:00 |
|
levlam
|
bd97e81c32
|
Add td_api::sendQuickReplyShortcutMessages.
|
2024-03-05 13:08:26 +03:00 |
|
levlam
|
5a0a3f2c14
|
Add chat type check in get_quick_reply_message_contents.
|
2024-03-04 22:33:25 +03:00 |
|
levlam
|
f11ad19a4f
|
Ignore saved_peer_id in quick reply messages.
|
2024-03-04 22:30:24 +03:00 |
|
levlam
|
464973839e
|
Add QuickReplyManager::get_quick_reply_message_contents.
|
2024-03-04 20:06:32 +03:00 |
|
levlam
|
848b907b1a
|
Remove comment about disable_web_page_preview being a local field.
|
2024-03-04 18:55:03 +03:00 |
|
levlam
|
3103a6d82c
|
Remove QuickReplyMessage.noforwards.
|
2024-03-04 18:53:51 +03:00 |
|
levlam
|
f43ba61252
|
Add td_api::deleteBusinessConnectedBot.
|
2024-03-04 18:17:57 +03:00 |
|
levlam
|
84ecc89d20
|
Add td_api::setBusinessConnectedBot.
|
2024-03-04 17:59:29 +03:00 |
|
levlam
|
5c764d1716
|
tg_cli: add as_business_recipients.
|
2024-03-04 17:55:29 +03:00 |
|
levlam
|
d56025f609
|
Add td_api::getBusinessConnectedBot.
|
2024-03-04 17:17:10 +03:00 |
|
levlam
|
261a3d0c22
|
Move business info setters to BusinessManager.
|
2024-03-04 16:57:36 +03:00 |
|
levlam
|
e78c0aa360
|
Add empty BusinessManager.
|
2024-03-04 16:39:30 +03:00 |
|
levlam
|
a629700b3c
|
Add class BusinessConnectedBot.
|
2024-03-04 16:06:36 +03:00 |
|
levlam
|
fbc738c8df
|
Improve updates after quick reply message deletion.
|
2024-03-04 15:11:36 +03:00 |
|
levlam
|
f03bdc7e50
|
Add td_api::setQuickReplyShortcutName.
|
2024-03-04 15:00:00 +03:00 |
|
levlam
|
74c5ba7087
|
Add td_api::checkQuickReplyShortcutName.
|
2024-03-04 14:34:47 +03:00 |
|
levlam
|
e61c4d03e5
|
Add "quick_reply_message_count_max" option.
|
2024-03-04 13:28:55 +03:00 |
|
levlam
|
f7b6f81c52
|
Add "quick_reply_shortcut_count_max" option.
|
2024-03-04 13:27:23 +03:00 |
|
levlam
|
e2eba91ee2
|
Allow to add to recent stickers arbitrary WEBP stickers.
|
2024-03-01 22:35:48 +03:00 |
|
levlam
|
f726ca930b
|
Add td_api::toggleChatFolderTags.
|
2024-03-01 19:28:32 +03:00 |
|
levlam
|
3221d42d7b
|
Add updateChatFolders.are_tags_enabled.
|
2024-03-01 16:57:10 +03:00 |
|
levlam
|
b9c66aaea6
|
Support chat folder color.
|
2024-03-01 15:57:30 +03:00 |
|
levlam
|
60ee05aef7
|
Support Away messages sent only when the user is offline.
|
2024-03-01 14:44:42 +03:00 |
|
levlam
|
00e9793f09
|
Improve reload_quick_reply_messages.
|
2024-03-01 13:39:26 +03:00 |
|
levlam
|
8a5f4afa91
|
Add source to delete_quick_reply_messages.
|
2024-02-29 21:59:53 +03:00 |
|
levlam
|
de6f15c973
|
Add td_api::deleteQuickReplyShortcutMessages.
|
2024-02-29 21:34:45 +03:00 |
|
levlam
|
3d60b43196
|
Register quick reply message files.
|
2024-02-29 21:05:56 +03:00 |
|
levlam
|
3022da6b83
|
Add and use QuickReplyManager::update_quick_reply_message.
|
2024-02-29 20:58:30 +03:00 |
|
levlam
|
fd5a6389ec
|
Delete files from deleted quick reply messages.
|
2024-02-29 19:01:40 +03:00 |
|
levlam
|
3f85140627
|
Support file reference repair for quick reply messages.
|
2024-02-29 17:41:05 +03:00 |
|
levlam
|
ee25355ba6
|
Prevent adding back of deleted messages.
|
2024-02-29 17:27:12 +03:00 |
|
levlam
|
29718b5880
|
Add delete_quick_reply_messages(Shortcut *).
|
2024-02-29 17:21:55 +03:00 |
|
levlam
|
cc40178558
|
Add class QuickReplyMessageFullId.
|
2024-02-29 17:11:39 +03:00 |
|
levlam
|
b2884dcd0b
|
Add QuickReplyManager::reload_quick_reply_message.
|
2024-02-29 17:05:00 +03:00 |
|
levlam
|
23af1419d0
|
Support telegram_api::updateQuickReplyMessage.
|
2024-02-29 16:39:38 +03:00 |
|
levlam
|
fb85728597
|
Add source to get_update_quick_reply_shortcut_messages_object.
|
2024-02-29 16:10:15 +03:00 |
|
levlam
|
3b62a65bea
|
Add td_api::loadQuickReplyShortcutMessages instead of getQuickReplyShortcutMessages.
|
2024-02-29 16:05:16 +03:00 |
|
levlam
|
c99dd3d59d
|
Add td_api::updateQuickReplyShortcutMessages.
|
2024-02-29 15:55:38 +03:00 |
|
levlam
|
b7ee5c2ada
|
Support updateDeleteQuickReplyMessages.
|
2024-02-29 14:43:32 +03:00 |
|
levlam
|
2e4a9c11d3
|
Reload quick reply messages after reloading the list of quick reply shortcuts.
|
2024-02-28 17:42:41 +03:00 |
|
levlam
|
9720651164
|
Add and use QuickReplyManager::get_quick_reply_messages_hash.
|
2024-02-28 17:38:17 +03:00 |
|
levlam
|
aeea69e674
|
Add td_api::getQuickReplyShortcutMessages.
|
2024-02-28 17:19:28 +03:00 |
|
levlam
|
139d1d92ae
|
Save quick reply shortcuts to binlog.
|
2024-02-27 23:47:29 +03:00 |
|
levlam
|
b7e8584260
|
Remove QuickReplyMessage.is_copy.
|
2024-02-27 22:06:01 +03:00 |
|
levlam
|
4e198f0fe5
|
Remove quickReplyMessage.forward_info.
|
2024-02-27 20:52:59 +03:00 |
|
levlam
|
f13f409e5f
|
Send shortcut identifiers in updates and receive them in requests.
|
2024-02-27 18:10:11 +03:00 |
|
levlam
|
88363b1113
|
tg_cli: add ShortcutId.
|
2024-02-27 16:16:28 +03:00 |
|
levlam
|
7b257b4def
|
Rename work hours to opening hours.
|
2024-02-27 16:03:34 +03:00 |
|
levlam
|
50ba48fbfa
|
Add td_api::setBusinessGreetingMessageSettings.
|
2024-02-27 14:26:19 +03:00 |
|
levlam
|
66761d1950
|
Add td_api::setBusinessAwayMessageSettings.
|
2024-02-27 14:18:56 +03:00 |
|
levlam
|
44bdcd4920
|
Add businessInfo.greeting_message_settings.
|
2024-02-27 02:07:21 +03:00 |
|
levlam
|
74fbe7f549
|
Add businessInfo.away_message_settings.
|
2024-02-27 01:58:14 +03:00 |
|
levlam
|
72a4cd0398
|
Add td_api::businessInfo.
|
2024-02-26 23:09:52 +03:00 |
|
levlam
|
0636fb180e
|
Reload userFull after User.is_premium changes.
|
2024-02-26 22:43:17 +03:00 |
|
levlam
|
5bde9c6fb6
|
Add td_api::businessAwayMessageSettings.
|
2024-02-26 20:27:17 +03:00 |
|
levlam
|
4c469a3f2c
|
Add td_api::BusinessAwayMessageSchedule.
|
2024-02-26 20:15:16 +03:00 |
|
levlam
|
3d43bbb80d
|
Add td_api::businessGreetingMessageSettings.
|
2024-02-26 19:09:58 +03:00 |
|
levlam
|
bdb3088a0c
|
Add quickReplyShortcut.id.
|
2024-02-26 18:18:53 +03:00 |
|
levlam
|
b84c36626a
|
Move public BusinessWorkHours fields before private one.
|
2024-02-26 17:06:29 +03:00 |
|
levlam
|
4513cf75b8
|
Add td_api::businessRecipients.
|
2024-02-26 16:35:20 +03:00 |
|
levlam
|
7476ff34de
|
Combine local and server shortcuts by name.
|
2024-02-26 13:48:19 +03:00 |
|
levlam
|
693bb5f09e
|
Add td_api::reorderQuickReplyShortcuts.
|
2024-02-24 14:40:25 +03:00 |
|
levlam
|
bf01eb3b91
|
Add and use QuickReplyManager::is_shortcut_list_changed.
|
2024-02-24 14:22:01 +03:00 |
|
levlam
|
bf825d76cb
|
Don't invoke quick reply queries simultaneously.
|
2024-02-24 13:42:34 +03:00 |
|
levlam
|
2c8c883fbf
|
Add and use QuickReplyManager::get_shortcut_it.
|
2024-02-24 13:37:02 +03:00 |
|
levlam
|
5ef3562533
|
Add QuickReplyShortcutId::is_server().
|
2024-02-24 03:28:55 +03:00 |
|
levlam
|
817a64ce0e
|
Add class QuickReplyShortcutId.
|
2024-02-24 03:16:56 +03:00 |
|
levlam
|
274720f395
|
Don't add back deleted shortcuts.
|
2024-02-24 03:06:20 +03:00 |
|
levlam
|
44366bd208
|
Add td_api::deleteQuickReplyShortcut.
|
2024-02-24 03:02:42 +03:00 |
|
levlam
|
370d862acf
|
Support address-only business location.
|
2024-02-23 21:03:44 +03:00 |
|
levlam
|
6cecda5d40
|
Add quickReplyMessage.can_be_edited.
|
2024-02-23 20:22:33 +03:00 |
|
levlam
|
5d1dcd204d
|
Add storers and parsers for quick reply shortcuts.
|
2024-02-23 16:17:37 +03:00 |
|
levlam
|
f0dcf7ebe2
|
Calculate quick reply shortcuts hash.
|
2024-02-23 14:49:29 +03:00 |
|
levlam
|
08084f35e3
|
Added updateChatAddedToList and updateChatRemovedFromList.
|
2024-02-23 13:38:51 +03:00 |
|
levlam
|
77abbdba60
|
Support telegram_api::updateDeleteQuickReply.
|
2024-02-22 23:17:02 +03:00 |
|
levlam
|
70b45fc3db
|
Support telegram_api::updateNewQuickReply.
|
2024-02-22 23:14:08 +03:00 |
|
levlam
|
de8afdd0a8
|
Store separately server and local shortcut message total_count.
|
2024-02-22 23:08:38 +03:00 |
|
levlam
|
1d76beadeb
|
Replace getQuickReplyShortcuts with loadQuickReplyShortcuts.
|
2024-02-22 23:04:36 +03:00 |
|
levlam
|
99f1369e8c
|
Add updateQuickReplyShortcuts.
|
2024-02-22 22:55:09 +03:00 |
|
levlam
|
c73a19c319
|
Send update only if the first shortcut message changes.
|
2024-02-22 21:57:43 +03:00 |
|
levlam
|
9af1639168
|
Add QuickReplyManager::get_quick_reply_unique_id.
|
2024-02-22 21:47:34 +03:00 |
|
levlam
|
f1fbd90ae6
|
Add QuickReplyMessageUniqueId typedef.
|
2024-02-22 21:44:13 +03:00 |
|
levlam
|
d478ba05c4
|
Support edit date for quick replies.
|
2024-02-22 21:40:07 +03:00 |
|
levlam
|
d813b5c438
|
Support updateQuickReplyShortcut in getCurrentState.
|
2024-02-22 21:26:17 +03:00 |
|
levlam
|
6b97b9289e
|
Add updateQuickReplyShortcut and updateQuickReplyShortcutDeleted.
|
2024-02-22 21:23:19 +03:00 |
|
levlam
|
dbc7bddf80
|
Support updateQuickReplies.
|
2024-02-22 20:12:06 +03:00 |
|
levlam
|
c42a9d5652
|
Merge new received shortcut data with previously known data.
|
2024-02-22 19:45:49 +03:00 |
|
levlam
|
ef90da3fd1
|
Update shortcut message count with the number of known messages.
|
2024-02-22 18:47:01 +03:00 |
|
levlam
|
96ddf0441c
|
Add td_api::getQuickReplyShortcuts.
|
2024-02-22 17:32:12 +03:00 |
|
levlam
|
a92c34fe30
|
Remove self_destruct_type from QuickReplyMessage.
|
2024-02-22 00:48:05 +03:00 |
|
levlam
|
4fff9a0417
|
Add td_api::quickReplyMessage.
|
2024-02-21 22:43:29 +03:00 |
|
levlam
|
768afb8815
|
Keep only reply_to_message_id for quick replies.
|
2024-02-21 22:27:46 +03:00 |
|
levlam
|
e8f58d7dd4
|
Add class QuickReplyMessage.
|
2024-02-21 22:06:07 +03:00 |
|
levlam
|
094066eceb
|
Add QuickReplyManager.
|
2024-02-21 20:43:55 +03:00 |
|
levlam
|
94ae90dcaf
|
Check that quick reply messages aren't received by MessagesManager.
|
2024-02-21 20:36:33 +03:00 |
|
levlam
|
5097989a4d
|
Add td_api::setBusinessWorkHours.
|
2024-02-20 15:55:17 +03:00 |
|
levlam
|
ea58ed8831
|
Add userFullInfo.business_work_hours.
|
2024-02-20 15:22:02 +03:00 |
|
levlam
|
8d9edcb31d
|
Add td_api::setBusinessLocation.
|
2024-02-20 12:49:30 +03:00 |
|
levlam
|
9c51809490
|
Add userFullInfo.business_location.
|
2024-02-20 00:33:40 +03:00 |
|
levlam
|
d5af2f6ced
|
Save time zones to binlog.
|
2024-02-19 22:30:07 +03:00 |
|
levlam
|
ab1b7cf20f
|
Add td_api::getTimeZones.
|
2024-02-19 22:12:28 +03:00 |
|
levlam
|
552e6ba35a
|
Add TimeZoneManager.
|
2024-02-19 14:34:28 +03:00 |
|
levlam
|
dc2300d7ae
|
Update layer to 176.
|
2024-02-19 14:07:10 +03:00 |
|
levlam
|
1c06f69a03
|
Move on_view_dialog_active_stories to StoryManager.
|
2024-03-06 14:46:52 +03:00 |
|
levlam
|
0e8f076bab
|
Move is_dialog_info_received_from_server to DialogManager.
|
2024-03-05 12:47:42 +03:00 |
|
levlam
|
d66e3657a3
|
Move cached_channel_participants_ to DialogParticipantManager.
|
2024-03-04 03:16:20 +03:00 |
|
levlam
|
b788136508
|
Minor improvements.
|
2024-03-03 02:14:53 +03:00 |
|
levlam
|
1e8e2fcecc
|
Move search_among_dialogs to DialogParticipantManager.
|
2024-03-03 01:43:42 +03:00 |
|
levlam
|
958f6ddffd
|
Add ContactsManager::get_user_was_online.
|
2024-03-03 01:39:00 +03:00 |
|
levlam
|
854b054ed6
|
Fix default parameter value.
|
2024-03-03 01:35:17 +03:00 |
|
levlam
|
22d9c86b57
|
Move get_channel_participants to DialogParticipantManager.
|
2024-03-03 01:22:49 +03:00 |
|
levlam
|
6399c64252
|
Drop username if it is invalid.
|
2024-03-03 00:41:09 +03:00 |
|
levlam
|
d809329044
|
Combine resolveUsername queries.
|
2024-03-03 00:39:11 +03:00 |
|
levlam
|
3d9d6f51f4
|
Move search_chat_participants to DialogParticipantManager.
|
2024-03-02 03:02:34 +03:00 |
|
levlam
|
82e109a4d5
|
Simplify search_private_chat_participants.
|
2024-03-02 02:09:56 +03:00 |
|
levlam
|
465fdd8505
|
Move search_dialog_participants to DialogParticipantManager.
|
2024-03-02 02:02:01 +03:00 |
|
levlam
|
29a8e8062b
|
Don't use std::map and Container to store DC OptionStat.
|
2024-03-01 14:01:10 +03:00 |
|
levlam
|
f8342527ca
|
Don't resave DcOptions on launch.
|
2024-02-28 13:47:17 +03:00 |
|
levlam
|
36e95649cc
|
Make AuthData the last field of Session.
|
2024-02-27 13:51:39 +03:00 |
|
levlam
|
555aa71f59
|
Move chat ownership transfer to DialogParticipantManager.
|
2024-02-26 14:14:54 +03:00 |
|
levlam
|
49674bb431
|
Move methods for chat participant changes to DialogParticipantManager.
|
2024-02-25 00:45:19 +03:00 |
|
levlam
|
3d80f1ae6f
|
Move get_dialog_search_text to DialogManager.
|
2024-02-24 23:47:30 +03:00 |
|
levlam
|
899587e4fa
|
Add and use is_editable_message_content.
|
2024-02-23 20:19:54 +03:00 |
|
levlam
|
fe6201556b
|
Fix GCC 4.9 compilation errors.
|
2024-02-22 13:08:31 +03:00 |
|
levlam
|
0862f03be2
|
Don't mark FolderId constructor as constexpr.
|
2024-02-22 01:12:50 +03:00 |
|
levlam
|
fe749cfb9b
|
Add DialogManager::set_dialog_location.
|
2024-02-20 00:43:04 +03:00 |
|
levlam
|
da979c4631
|
Move user_online_member_dialogs_ to DialogParticipantManager.
|
2024-02-19 02:15:05 +03:00 |
|
levlam
|
59b1d7a4f6
|
Add ContactsManager::update_chat_online_member_count(ChatId).
|
2024-02-19 01:46:57 +03:00 |
|
levlam
|
32040c22cb
|
Move get_dialog_about to DialogManager.
|
2024-02-19 01:10:57 +03:00 |
|
levlam
|
5828e46046
|
Don't subscribe to some state changes by bots.
|
2024-02-19 00:23:46 +03:00 |
|
levlam
|
acef6e61a0
|
Check close_flag() first.
|
2024-02-18 20:55:41 +03:00 |
|
levlam
|
b6b5b1b9ed
|
Don't set network type if network statistics is disabled.
|
2024-02-17 21:39:12 +03:00 |
|
levlam
|
d93a99e335
|
Update version to 1.8.25.
|
2024-02-16 01:00:29 +03:00 |
|
levlam
|
5b9c066b34
|
Add binlog_ null checks.
|
2024-02-15 19:54:14 +03:00 |
|
levlam
|
e12b13bbb0
|
Keep reference to Td in TdDb::open to ensure that it isn't closed completely in the meanwhile.
|
2024-02-15 19:45:27 +03:00 |
|
levlam
|
6707463e85
|
Don't check ChannelFull for bots.
|
2024-02-15 18:47:20 +03:00 |
|
levlam
|
da5ba34850
|
Minor fixes.
|
2024-02-15 17:19:19 +03:00 |
|
levlam
|
78f3363486
|
Add key validness checks before adding to FlatHashSet.
|
2024-02-15 17:16:08 +03:00 |
|
levlam
|
0369a1a185
|
Check options in alphabetical order.
|
2024-02-15 16:32:03 +03:00 |
|
levlam
|
82e3cef939
|
Ignore duplicate animations in premium state.
|
2024-02-15 12:05:00 +03:00 |
|
levlam
|
862497601e
|
Fix chatEventStickerSetChanged.
|
2024-02-14 18:02:48 +03:00 |
|
levlam
|
52c27fef85
|
Remove redundant logging.
|
2024-02-14 13:56:18 +03:00 |
|
levlam
|
e1098ef8e9
|
Allow empty non-null backgrounds in chat event log.
|
2024-02-13 16:56:07 +03:00 |
|
levlam
|
4198bff4af
|
Don't initialize story sender for anonymous administrators.
|
2024-02-13 14:17:47 +03:00 |
|
levlam
|
6dfdb00f85
|
Support messageActionBoostApply.
|
2024-02-13 13:45:40 +03:00 |
|
levlam
|
781c9f53cb
|
Fix sender_id for yet unsent stories.
|
2024-02-13 13:41:51 +03:00 |
|
levlam
|
e978e86c50
|
Add more story_id checks.
|
2024-02-13 13:41:05 +03:00 |
|
levlam
|
0dc90cf820
|
Remove chat identifier from setStoryPrivacySettings.
|
2024-02-13 13:13:41 +03:00 |
|
levlam
|
e9c8fb8cb4
|
Ignore story privacy settings for channel stories.
|
2024-02-13 13:07:09 +03:00 |
|
levlam
|
1c40ce963c
|
Reload chats to send stories after updating the list locally to restore correct order.
|
2024-02-13 12:55:07 +03:00 |
|
levlam
|
638e5e5d8c
|
Update default list of Premium features.
|
2024-02-13 00:10:54 +03:00 |
|
levlam
|
6b0262e9f7
|
Increase appConfig version.
|
2024-02-12 23:37:18 +03:00 |
|
levlam
|
0bdc409212
|
Add td_api::premiumFeatureLastSeenTimes.
|
2024-02-12 23:32:01 +03:00 |
|
levlam
|
b9de5cd0f9
|
Add td_api::premiumFeatureMessagePrivacy.
|
2024-02-12 23:27:44 +03:00 |
|
levlam
|
02d1cef461
|
Fix handling of 0 min boost level.
|
2024-02-12 22:59:12 +03:00 |
|
levlam
|
9a9ffa6794
|
Add and use can_change_info_and_settings_as_administrator.
|
2024-02-12 18:48:14 +03:00 |
|
levlam
|
9e32ab8ad1
|
Improve can_change_info right documentation.
|
2024-02-12 18:00:38 +03:00 |
|
levlam
|
46f076f47c
|
Add td_api::setSupergroupUnrestrictBoostCount.
|
2024-02-12 17:42:35 +03:00 |
|
levlam
|
9d0ca2670e
|
Add story.sender_id.
|
2024-02-12 16:12:29 +03:00 |
|
levlam
|
978cd5ef34
|
Support replying of supergroup stories in the supergroup.
|
2024-02-11 02:57:08 +03:00 |
|
levlam
|
e62f612c36
|
Add Message.sender_boost_count.
|
2024-02-11 02:45:18 +03:00 |
|
levlam
|
539fd729ea
|
Allow stories administrator rights in supergroups.
|
2024-02-11 02:16:25 +03:00 |
|
levlam
|
81f959be99
|
Support supergroups in getChatBoostFeatures,
|
2024-02-11 01:29:07 +03:00 |
|
levlam
|
1728dbf561
|
Add rights check in get_background_dialog.
|
2024-02-10 23:53:44 +03:00 |
|
levlam
|
3745632f68
|
Support setChatEmojiStatus in supergroups.
|
2024-02-10 23:39:02 +03:00 |
|
levlam
|
75a812ba10
|
Support change of profile accent color in supergroups.
|
2024-02-09 16:54:16 +03:00 |
|
levlam
|
e12a1550d9
|
More precise check in can_use_premium_custom_emoji.
|
2024-02-09 16:20:13 +03:00 |
|
levlam
|
2220d6bd32
|
Poll active stories in supergroups.
|
2024-02-09 15:40:17 +03:00 |
|
levlam
|
423688771d
|
Support gift codes in supergroups.
|
2024-02-09 14:54:57 +03:00 |
|
levlam
|
49003c5cce
|
Generate boost links for supergroups and in new format,
|
2024-02-09 14:39:35 +03:00 |
|
levlam
|
7b6c5b3517
|
Support giveaways in supergroups.
|
2024-02-09 14:13:46 +03:00 |
|
levlam
|
83a92d5258
|
Support supergroup boost options.
|
2024-02-09 14:03:53 +03:00 |
|
levlam
|
665d04296b
|
Don't send slow_mode_delay_expires_in if user is a booster.
|
2024-02-09 12:23:49 +03:00 |
|
levlam
|
0238a3da42
|
Ignore restrictions by supergroup boosters.
|
2024-02-08 23:30:41 +03:00 |
|
levlam
|
353c809298
|
Add supergroupFullInfo.unrestrict_boost_count.
|
2024-02-08 19:04:28 +03:00 |
|
levlam
|
2037b049c5
|
Add supergroupFullInfo.my_boost_count.
|
2024-02-08 18:51:40 +03:00 |
|
levlam
|
0dad023262
|
Allow to use Premium custom emoji from group emoji set in supergroups.
|
2024-02-08 15:09:26 +03:00 |
|
levlam
|
42784587ad
|
Support custom emoji sticker set in supergroups.
|
2024-02-08 15:02:04 +03:00 |
|
levlam
|
29d4de052e
|
Add profileAccentColor.min_supergroup_boost_level.
|
2024-02-08 14:35:42 +03:00 |
|
levlam
|
9400447fde
|
Add td_api::chatEventCustomEmojiStickerSetChanged.
|
2024-02-08 13:46:45 +03:00 |
|
levlam
|
64635aefe1
|
Add td_api::messageChatBoost.
|
2024-02-07 20:50:00 +03:00 |
|
levlam
|
cb3c623fd2
|
Update layer to 174.
|
2024-02-07 20:34:28 +03:00 |
|
levlam
|
c0d78b9f04
|
Add MessagesManager::set_folder_pinned_dialogs.
|
2024-02-09 23:23:18 +03:00 |
|
levlam
|
3e66162c07
|
Add source to set_dialog_view_as_messages.
|
2024-02-08 01:33:08 +03:00 |
|
levlam
|
238c282368
|
Update server_total_count when topic list changes.
|
2024-02-07 20:03:46 +03:00 |
|
levlam
|
071d232908
|
Add td_api::updateSavedMessagesTopicCount.
|
2024-02-07 19:45:06 +03:00 |
|
levlam
|
d243739d67
|
Remove unused variable.
|
2024-02-07 18:01:35 +03:00 |
|
levlam
|
afb8524392
|
Minor fixes.
|
2024-02-07 17:50:57 +03:00 |
|
levlam
|
2ca4672a98
|
Improve logging and fix on_topic_changed.
|
2024-02-07 16:51:08 +03:00 |
|
levlam
|
e7d6a982fa
|
Add source to send_update_saved_messages_topic.
|
2024-02-07 16:24:05 +03:00 |
|
levlam
|
6cfb50fd8f
|
Support Saved Messages topic draft.
|
2024-02-07 16:10:56 +03:00 |
|
levlam
|
21696de370
|
Support Saved Messages in toggleChatViewAsTopics.
|
2024-02-07 15:32:50 +03:00 |
|
levlam
|
121461561e
|
Add and use SavedMessagesManager::get_topic_ids.
|
2024-02-07 14:59:24 +03:00 |
|
levlam
|
7478bf3051
|
Don't reload pinned Saved Messages topics if they weren't loaded.
|
2024-02-07 14:52:02 +03:00 |
|
levlam
|
3fa7448dd9
|
Add logging in send_update_saved_messages_topic.
|
2024-02-07 14:33:01 +03:00 |
|
levlam
|
f28d40605a
|
Improve Saved Messages topic API and naming.
|
2024-02-07 14:01:29 +03:00 |
|
levlam
|
aae57bf18a
|
Move pinned topics to TopicList.
|
2024-02-07 12:49:00 +03:00 |
|
levlam
|
bb5d9d8777
|
Combine GetSavedDialogsQuery requests.
|
2024-02-07 12:45:13 +03:00 |
|
levlam
|
39ea60e889
|
Combine GetPinnedSavedDialogsQuery requests.
|
2024-02-07 12:42:10 +03:00 |
|
levlam
|
6cd6242931
|
Add td_api::loadSavedMessagesTopics instead of server-side topic load methods.
|
2024-02-07 12:30:34 +03:00 |
|
levlam
|
73f3696eda
|
Send updateSavedMessagesTopic when last topic message changes.
|
2024-02-06 16:08:41 +03:00 |
|
levlam
|
7f0f3e9ff0
|
Add and use MessagesManager::send_update_last_message_if_needed.
|
2024-02-06 16:03:11 +03:00 |
|
levlam
|
5d0b8c71a5
|
Remove updatePinnedSavedMessagesTopics and handle updates on the TDLib side.
|
2024-02-06 15:12:03 +03:00 |
|
levlam
|
4882919461
|
Fix drop of topic order.
|
2024-02-06 14:58:37 +03:00 |
|
levlam
|
524899a6ae
|
Update last topic date when loading Saved Messages topics.
|
2024-02-06 14:26:48 +03:00 |
|
levlam
|
f3d81a1aea
|
Remove superflous saved_messages_topic_id parameters.
|
2024-02-06 01:24:25 +03:00 |
|
levlam
|
0baa1424f9
|
Add updateSavedMessagesTopic and more fields about the topic.
|
2024-02-06 01:21:55 +03:00 |
|
levlam
|
b45cd6e298
|
Add SavedMessagesManager::get_found_saved_messages_topic_object.
|
2024-02-06 00:58:13 +03:00 |
|
levlam
|
82702c4331
|
Store last message date along last topic message identifier.
|
2024-02-06 00:11:36 +03:00 |
|
levlam
|
0bcc699dc5
|
Add checks for maximum count of pinned Saved Messages topic and their existence before locally pin them.
|
2024-02-05 22:31:16 +03:00 |
|
levlam
|
abd4cec117
|
Maintain order of pinned Saved Messages topics and apply all changes locally first.
|
2024-02-05 22:22:17 +03:00 |
|
levlam
|
00984e1ebd
|
Add logging in set_topic_last_message_id.
|
2024-02-05 10:30:04 +03:00 |
|
levlam
|
741b0fc6af
|
Repair last Saved Messages topic message by fetching history.
|
2024-02-05 10:20:35 +03:00 |
|
levlam
|
db500ffae5
|
Process Saved Messages topic history inside SavedMessagesManager.
|
2024-02-05 10:06:58 +03:00 |
|
levlam
|
3d8c749536
|
Maintain last message of Saved Messages topics.
|
2024-02-05 00:56:20 +03:00 |
|
levlam
|
7267e1e89c
|
Move Saved Messages-specific functions to SavedMessagesManager.
|
2024-02-04 23:06:48 +03:00 |
|
levlam
|
1eb8c22f75
|
Add empty SavedMessagesManager.
|
2024-02-04 12:41:53 +03:00 |
|
levlam
|
d85dcb8298
|
Send update when title of unused tag changes.
|
2024-02-02 18:52:53 +03:00 |
|
levlam
|
f0503191e4
|
Load Saved Messages tags in topic from database.
|
2024-02-02 17:09:49 +03:00 |
|
levlam
|
3e9f2ba515
|
Merge add_saved_reaction_tags and get_saved_reaction_tags.
|
2024-02-02 16:49:13 +03:00 |
|
levlam
|
af0c522c45
|
Use currently used tags to sort available tags in Saved Messages.
|
2024-02-02 16:38:37 +03:00 |
|
levlam
|
04f3432574
|
Load all Saved Messages tags from database.
|
2024-02-02 16:30:11 +03:00 |
|
levlam
|
56e37a87a2
|
Save Saved Messages tags to database.
|
2024-02-02 00:06:59 +03:00 |
|
levlam
|
32eba3c7d1
|
Enable setting tags by Premium users.
|
2024-02-01 22:40:55 +03:00 |
|
levlam
|
db4bd6b133
|
Strip more empty characters.
|
2024-02-01 21:16:01 +03:00 |
|
levlam
|
d120d0ab66
|
Set close_flag before clearing requests.
|
2024-02-01 14:59:55 +03:00 |
|
levlam
|
f11c4e8af4
|
Add searchSavedMessages.saved_messages_topic.
|
2024-02-01 13:09:01 +03:00 |
|
levlam
|
0e16c0af02
|
Hide video and voice message drafts when the message is sent.
|
2024-01-31 02:58:17 +03:00 |
|
levlam
|
2f1de10541
|
Add and use MessagesManager::clear_dialog_draft_by_sent_message.
|
2024-01-31 02:47:43 +03:00 |
|
levlam
|
f7bf5f268a
|
Mark top_thread_message_id as const when possible.
|
2024-01-31 01:52:02 +03:00 |
|
levlam
|
2a81a11e61
|
Keep and pass to the server initial top_thread_message_id specified by the app.
|
2024-01-31 01:45:20 +03:00 |
|
levlam
|
9d93e9f090
|
Support local voice note message drafts.
|
2024-01-30 17:23:08 +03:00 |
|
levlam
|
0ed3ed75fa
|
Add local video note drafts.
|
2024-01-30 16:59:14 +03:00 |
|
levlam
|
c7952b1c1d
|
Add td_api::premiumStoryFeatureVideoQuality.
|
2024-01-30 03:29:50 +03:00 |
|
levlam
|
1ce1761190
|
Add td_api::premiumFeatureSavedMessagesTags.
|
2024-01-30 03:11:23 +03:00 |
|
levlam
|
930a3ccdca
|
Support Saved Messages tags in topics.
|
2024-01-29 19:11:14 +03:00 |
|
levlam
|
027b23ac5a
|
Simplify SavedReactionTags::update_saved_messages_tags.
|
2024-01-29 18:58:30 +03:00 |
|
levlam
|
2a8156a1bc
|
Add registerUser.disable_notification.
|
2024-01-29 16:43:42 +03:00 |
|
levlam
|
440d9de15a
|
Update layer to 173.
|
2024-01-29 16:32:02 +03:00 |
|
levlam
|
0e311c404b
|
Add more logging.
|
2024-02-06 13:13:50 +03:00 |
|
levlam
|
3a5630356a
|
Fix destroy_auth_keys.
|
2024-02-06 12:59:01 +03:00 |
|
levlam
|
81907c1c7a
|
Remove force_sync after starting auth key destroy.
|
2024-02-03 23:14:02 +03:00 |
|
levlam
|
9080b84649
|
Don't force sync after log in for bots.
|
2024-02-02 15:24:23 +03:00 |
|
levlam
|
12914669e6
|
Don't sync binlog after creation of SQLite encryption key if it will not be used.
|
2024-02-02 15:23:26 +03:00 |
|
levlam
|
8377726001
|
Add source to Binlog::sync.
|
2024-02-02 15:09:17 +03:00 |
|
levlam
|
d79bd4b694
|
Don't check disable_web_page_preview for sponsored messages.
|
2024-02-02 13:38:40 +03:00 |
|
levlam
|
7c3e9e6d5e
|
Move DcAuthManager to main session scheduler.
|
2024-02-02 13:32:15 +03:00 |
|
levlam
|
6c4804b591
|
Add source to SessionProxy::close_session.
|
2024-02-01 12:59:20 +03:00 |
|
levlam
|
acec5146ec
|
Close asynchronously opened database if instance was closed in the meanwhile.
|
2024-02-01 01:46:34 +03:00 |
|
levlam
|
034db9599d
|
Improve checks for changed link preview.
|
2024-01-31 18:10:53 +03:00 |
|
levlam
|
ec21b0276f
|
Set disable_web_page_preview to true only if the message has a link.
|
2024-01-31 12:48:03 +03:00 |
|
levlam
|
3d539f1bcc
|
Add class MessageSelfDestructType.
|
2024-01-30 15:07:21 +03:00 |
|
levlam
|
983f669116
|
Fail sending of messages for which updateMessageId has been received.
|
2024-01-29 01:48:58 +03:00 |
|
levlam
|
eb3f9f7ba1
|
Improve error messages.
|
2024-01-29 01:09:46 +03:00 |
|
levlam
|
5acc895975
|
Improve error message.
|
2024-01-29 00:55:37 +03:00 |
|
levlam
|
c92948e8b9
|
Improve error message.
|
2024-01-29 00:39:07 +03:00 |
|
levlam
|
34935ca4b6
|
Reopen and reinit session when receive a failed to parse update by a bot.
|
2024-01-29 00:18:40 +03:00 |
|
levlam
|
a60d6f5dfb
|
Fix RepliedMessageInfo::need_reply_changed_warning.
|
2024-01-28 02:06:04 +03:00 |
|
levlam
|
4a29cd7f00
|
Don't warn about sent message identifier decrease, if the new message has identifier 1.
|
2024-01-28 01:59:33 +03:00 |
|
levlam
|
8c02d57443
|
Don't try to get name of an empty actor.
|
2024-01-27 13:27:55 +03:00 |
|
levlam
|
c5c55092dd
|
Update version to 1.8.24.
|
2024-01-27 03:43:28 +03:00 |
|
levlam
|
17e5d20583
|
Fix message_input_reply_to access for server messages.
|
2024-01-27 03:42:36 +03:00 |
|
levlam
|
7144475524
|
Increase MessageUnsupported version.
|
2024-01-26 23:07:39 +03:00 |
|
levlam
|
cdd7430d3a
|
Silently create chat in get_message_sender_object.
|
2024-01-26 23:03:37 +03:00 |
|
levlam
|
d3a5025dae
|
Remove unused header.
|
2024-01-26 17:07:42 +03:00 |
|
levlam
|
dace1cdb23
|
Fix GetMessagePositionQuery.
|
2024-01-26 15:37:32 +03:00 |
|
levlam
|
ba75dd2626
|
Improve update handling logging.
|
2024-01-26 15:08:16 +03:00 |
|
levlam
|
73dc2b9889
|
Use multiset to store pending updates and improve PendingPtsUpdate comparison.
|
2024-01-26 14:59:07 +03:00 |
|
levlam
|
aa6be7d9bf
|
Add canSendMessageToUser.only_local.
|
2024-01-26 14:06:27 +03:00 |
|
levlam
|
3391c643f3
|
Don't try to fetch the same update more than once.
|
2024-01-26 14:01:44 +03:00 |
|
levlam
|
b6fe959ece
|
Improve update processing logging.
|
2024-01-26 11:25:09 +03:00 |
|
levlam
|
238d154ed7
|
Immediately fetch affected messages.
|
2024-01-26 00:30:49 +03:00 |
|
levlam
|
168bba072d
|
Remove UpdatesManager::init_sessions, because sessions are inited now by choosing of random one to send request, and init_sessions isn't called after temporary key is changed.
|
2024-01-25 22:33:44 +03:00 |
|
levlam
|
233633b705
|
Don't postpone updates with pts_count > 1, because they can partly overlap with getDifference results.
|
2024-01-25 22:28:07 +03:00 |
|
levlam
|
c9a357f80d
|
Support gaps with 0 pts_count in UpdatesManager::on_get_pts_update.
|
2024-01-25 22:02:11 +03:00 |
|
levlam
|
2acbcdbb60
|
Allow sending messages to user after receiving a message from them.
|
2024-01-25 20:56:10 +03:00 |
|
levlam
|
8c2375fdfe
|
Invalidate user_full_contact_require_premium_ when contact_require_premium changes.
|
2024-01-25 20:51:52 +03:00 |
|
levlam
|
c95cb5d75c
|
Minor imrovements.
|
2024-01-25 20:06:07 +03:00 |
|
levlam
|
c2ccf0d784
|
Add some emptiness checks.
|
2024-01-25 19:37:56 +03:00 |
|
levlam
|
f2262cdcfb
|
Add checks for null user.
|
2024-01-25 19:11:54 +03:00 |
|
levlam
|
4464a8479b
|
Use FlatHashSet to check internal options.
|
2024-01-25 18:50:37 +03:00 |
|
levlam
|
dfdad00dca
|
Don't warn about topic changed to or from Author Hidden.
|
2024-01-25 18:08:53 +03:00 |
|
levlam
|
07e381eaab
|
Add SavedMessagesTopicId::is_author_hidden.
|
2024-01-25 18:04:32 +03:00 |
|
levlam
|
b97773457b
|
Don't set explicitly source.is_outgoing for messages forwarded from the user.
|
2024-01-25 18:01:51 +03:00 |
|
levlam
|
db1644bb13
|
Add and use SavedReactionTag constructor.
|
2024-01-25 17:29:29 +03:00 |
|
levlam
|
04ec06ef4f
|
Update tag labels locally.
|
2024-01-25 17:12:02 +03:00 |
|
levlam
|
2b442c1caa
|
Add ReactionManager::reget_saved_messages_tags.
|
2024-01-25 17:04:02 +03:00 |
|
levlam
|
650ca8844d
|
Init SavedMessagesTopic with real_forward_from_dialog_id.
|
2024-01-25 16:45:24 +03:00 |
|
levlam
|
2f1423a284
|
Allow forwardSource without source message.
|
2024-01-25 16:23:00 +03:00 |
|
levlam
|
81f1d61e7f
|
Improve Saved Messages tag documentation.
|
2024-01-25 14:58:32 +03:00 |
|
levlam
|
096fc39bd1
|
Cache reaction tag hash.
|
2024-01-25 14:29:22 +03:00 |
|
levlam
|
09122ba596
|
Update SavedReactionTag comparison operator.
|
2024-01-25 14:13:06 +03:00 |
|
levlam
|
0cbda12b4c
|
Remove handling of some sendMessage error messages.
|
2024-01-24 22:05:22 +03:00 |
|
levlam
|
faf975ccc9
|
Use UserId::get_user_ids instead of explicit transform.
|
2024-01-24 21:40:14 +03:00 |
|
levlam
|
b8799a7e8c
|
Fix source.is_outgoing flag.
|
2024-01-24 20:44:07 +03:00 |
|
levlam
|
a14091ff81
|
Improve LastForwardedMessageInfo logging.
|
2024-01-24 20:03:42 +03:00 |
|
levlam
|
56d75e7c53
|
Don't keep full message source for initially forwarded messages.
|
2024-01-24 20:01:29 +03:00 |
|
levlam
|
d7e35f4c44
|
Improve privacy settings.
|
2024-01-24 18:59:53 +03:00 |
|
levlam
|
94141a18dd
|
Make canSendMessageToUser response strongly typed.
|
2024-01-19 22:14:03 +03:00 |
|
levlam
|
0a6207700d
|
Use GetIsPremiumRequiredToContactQuery to check unknown users.
|
2024-01-19 21:55:24 +03:00 |
|
levlam
|
5624f91155
|
Add td_api::canSendMessageToUser.
|
2024-01-19 15:35:57 +03:00 |
|
levlam
|
59de70bd87
|
Keep flag UserFull.contact_require_premium.
|
2024-01-19 15:01:07 +03:00 |
|
levlam
|
a3ac41e283
|
Add user.restricts_new_chats.
|
2024-01-19 14:35:37 +03:00 |
|
levlam
|
c8e4622da4
|
Add td_api::newChatPrivacySettings and methods for getting and setting it.
|
2024-01-19 14:25:24 +03:00 |
|
levlam
|
2504de4978
|
Add td_api::setReadDatePrivacySettings.
|
2024-01-09 17:56:47 +03:00 |
|
levlam
|
252ca3135c
|
Add td_api::getReadDatePrivacySettings.
|
2024-01-09 17:11:22 +03:00 |
|
levlam
|
e85694e6ff
|
Support other global privacy settings.
|
2024-01-09 16:00:59 +03:00 |
|
levlam
|
d950add490
|
Reget global privacy settings before setting them.
|
2024-01-09 15:54:25 +03:00 |
|
levlam
|
9802119ff7
|
Return GlobalPrivacySettings from get_global_privacy_settings.
|
2024-01-09 15:14:45 +03:00 |
|
levlam
|
b2f8a8e5d6
|
Support UserFull.read_dates_private.
|
2024-01-09 14:56:32 +03:00 |
|
levlam
|
d6eca27e58
|
Improve td_api::MessageReadDate.
|
2024-01-09 14:47:04 +03:00 |
|
levlam
|
5fc554166f
|
Add Message.can_get_read_date.
|
2024-01-09 13:50:11 +03:00 |
|
levlam
|
5baf9f52f8
|
Add internal "pm_read_date_expire_period" option.
|
2024-01-09 13:41:59 +03:00 |
|
levlam
|
5fb64e7ccd
|
Add td_api::getMessageReadDate.
|
2024-01-09 13:37:29 +03:00 |
|
levlam
|
0e032795b6
|
Add by_my_privacy_settings flag to td_api::UserStatus.
|
2024-01-09 12:34:02 +03:00 |
|
levlam
|
b171fbe373
|
Update layer to 172.
|
2024-01-09 12:09:10 +03:00 |
|
levlam
|
9fe83feeeb
|
Add td_api::ReactionUnavailabilityReason.
|
2024-01-24 17:11:41 +03:00 |
|
levlam
|
33ec7a21a8
|
Update Saved Messages tag count when tags are added from another app or message is deleted.
|
2024-01-24 12:31:12 +03:00 |
|
levlam
|
2351a83227
|
Add and use get_chosen_tags.
|
2024-01-24 12:01:20 +03:00 |
|
levlam
|
1b15b2825c
|
Add and use SavedReactionTags::calc_hash().
|
2024-01-24 00:25:02 +03:00 |
|
levlam
|
839969e255
|
Allow tags with label but without count.
|
2024-01-23 23:11:12 +03:00 |
|
levlam
|
588b889e4c
|
Check Saved Messages tags for validness.
|
2024-01-23 23:04:47 +03:00 |
|
levlam
|
cb70c0fa97
|
Update saved reaction tags after changing them locally.
|
2024-01-23 22:56:00 +03:00 |
|
levlam
|
ae18e3de6b
|
Add availableReaction.is_tag.
|
2024-01-23 21:28:39 +03:00 |
|
levlam
|
956c35d6e0
|
Add td_api::setSavedMessagesTagLabel.
|
2024-01-23 19:04:31 +03:00 |
|
levlam
|
e7953c067c
|
Send GetSavedReactionTagsQuery ordered with SendReactionQuery.
|
2024-01-23 17:04:03 +03:00 |
|
levlam
|
1c53d32aba
|
Return default tag reactions first for tags.
|
2024-01-23 16:49:50 +03:00 |
|
levlam
|
9a09125d62
|
Support telegram_api::updateSavedReactionTags.
|
2024-01-23 16:39:15 +03:00 |
|
levlam
|
291cd4203a
|
Add td_api::updateSavedMessagesTags.
|
2024-01-23 16:23:35 +03:00 |
|
levlam
|
9df2ba6e64
|
Add td_api::getSavedMessagesTags.
|
2024-01-23 16:01:27 +03:00 |
|
levlam
|
e6611cdb8f
|
Add td_api::searchSavedMessages.
|
2024-01-22 21:14:02 +03:00 |
|
levlam
|
e8f96d2520
|
Support adding tags to a message.
|
2024-01-22 20:25:19 +03:00 |
|
levlam
|
61277da56f
|
Move message_id checks to get_message_active_reactions.
|
2024-01-22 20:15:02 +03:00 |
|
levlam
|
b9afcbb70c
|
Support reaction tags in getMessageAvailableReactions.
|
2024-01-22 20:03:05 +03:00 |
|
levlam
|
eb80098431
|
Add td_api::messageReactions and messageReactions.are_tags.
|
2024-01-22 19:37:05 +03:00 |
|
levlam
|
0823ee492e
|
Add enum ReactionListType.
|
2024-01-18 20:53:43 +03:00 |
|
levlam
|
f4388dfc5c
|
Add ReactionList.is_loaded_from_database.
|
2024-01-18 20:12:22 +03:00 |
|
levlam
|
74aab0a7b2
|
Load default tag reactions.
|
2024-01-18 20:08:37 +03:00 |
|
levlam
|
20c4815a12
|
Add td_api::setPinnedSavedMessagesTopics.
|
2024-01-18 19:38:26 +03:00 |
|
levlam
|
af43242ca7
|
Add td_api::toggleSavedMessagesTopicIsPinned.
|
2024-01-18 19:22:31 +03:00 |
|
levlam
|
ae7e290789
|
Add td_api::updatePinnedSavedMessagesTopics.
|
2024-01-18 18:51:34 +03:00 |
|
levlam
|
643b896958
|
Add td_api::premiumLimitTypePinnedSavedMessagesTopicsCount.
|
2024-01-18 18:34:39 +03:00 |
|
levlam
|
30dad21fae
|
Add MessagesManager::fix_delete_message_min_max_dates.
|
2024-01-18 17:47:59 +03:00 |
|
levlam
|
8c358a4fc5
|
Add SavedMessagesTopicId::is_valid_status.
|
2024-01-18 17:38:15 +03:00 |
|
levlam
|
788d169e69
|
Add td_api::deleteSavedMessagesTopicMessagesByDate.
|
2024-01-18 17:29:09 +03:00 |
|
levlam
|
5002f25c0a
|
Add td_api::getSavedMessagesTopicMessageByDate.
|
2024-01-18 16:45:45 +03:00 |
|
levlam
|
26d63f605b
|
Rename chat permission to can_create_topics.
|
2024-01-17 12:22:56 +03:00 |
|
levlam
|
93370af38d
|
Add td_api::deleteSavedMessagesTopicHistory.
|
2024-01-16 22:42:43 +03:00 |
|
levlam
|
40f8bffec8
|
Add td_api::getSavedMessagesTopicHistory.
|
2024-01-16 19:19:38 +03:00 |
|
levlam
|
d9f2fe57a6
|
Add td_api::getPinnedSavedMessagesTopics.
|
2024-01-16 17:32:11 +03:00 |
|
levlam
|
79a66c06cc
|
Add td_api::getSavedMessagesTopics.
|
2024-01-16 16:26:58 +03:00 |
|
levlam
|
16fc47fb88
|
Add getChatSparseMessagePositions.saved_messages_topic.
|
2024-01-16 14:12:57 +03:00 |
|
levlam
|
f76c384f90
|
Add getChatMessageCalendar.saved_messages_topic.
|
2024-01-16 14:00:14 +03:00 |
|
levlam
|
8f019eeb73
|
Add getChatMessageCount.saved_messages_topic.
|
2024-01-16 00:30:37 +03:00 |
|
levlam
|
7e3107b1d3
|
Add SavedMessagesTopicId::is_valid_in.
|
2024-01-15 23:25:51 +03:00 |
|
levlam
|
3eba7d4f2b
|
Add getChatMessagePosition.saved_messages_topic.
|
2024-01-15 20:39:47 +03:00 |
|
levlam
|
7d71562a24
|
Add searchChatMessages.saved_messages_topic_id.
|
2024-01-15 19:43:03 +03:00 |
|
levlam
|
341b59cb6c
|
Duplicate fields from origin to source if appropriate.
|
2024-01-15 18:56:59 +03:00 |
|
levlam
|
85c4cd4642
|
Add SavedMessagesTopicId class.
|
2024-01-13 12:06:31 +03:00 |
|
levlam
|
0aeb11dee8
|
Add message.saved_messages_topic.
|
2024-01-12 16:06:10 +03:00 |
|
levlam
|
09e0add01f
|
Add Message.saved_messages_dialog_id.
|
2024-01-12 15:38:12 +03:00 |
|
levlam
|
2ff04387b8
|
Add more information to forwardSource.
|
2024-01-12 00:23:33 +03:00 |
|
levlam
|
91aef01e7e
|
Add td_api::forwardSource.
|
2024-01-11 22:48:22 +03:00 |
|
levlam
|
1dca0272be
|
Add class LastForwardedMessageInfo.
|
2024-01-11 22:33:12 +03:00 |
|
levlam
|
b287f2f177
|
Remove unused init_stickers_manager fucntion.
|
2024-01-11 21:46:12 +03:00 |
|
levlam
|
10f77aee95
|
Move get_dialog_reply_markup implementation to ReplyMarkup.cpp.
|
2024-01-11 20:35:02 +03:00 |
|
levlam
|
645102e4ed
|
Make MessageForwardInfo fields private.
|
2024-01-11 20:13:43 +03:00 |
|
levlam
|
6b180bcfd9
|
Add MessageForwardInfo::copy_message_forward_info.
|
2024-01-11 20:10:14 +03:00 |
|
levlam
|
c30c6168b5
|
Add and use MessageForwardInfo::need_change_warning.
|
2024-01-11 19:59:14 +03:00 |
|
levlam
|
edb02aa4c4
|
Add MessageForwardInfo::is_imported().
|
2024-01-11 19:39:32 +03:00 |
|
levlam
|
8c6024808a
|
Add and use MessagesManager::get_message_original_date.
|
2024-01-11 19:36:00 +03:00 |
|
levlam
|
b3a94f187f
|
Use public constructor to create legacy-parsed MessageForwardInfo.
|
2024-01-11 19:29:49 +03:00 |
|
levlam
|
5ccb67f28e
|
Improve MessageForwardInfo field names.
|
2024-01-11 19:24:01 +03:00 |
|
levlam
|
d59abc099d
|
Add MessageForwardInfo getters.
|
2024-01-11 19:11:16 +03:00 |
|
levlam
|
3ba660a655
|
Add some MessageForwardInfo methods.
|
2024-01-11 18:46:10 +03:00 |
|
levlam
|
3cb8ef9807
|
Store MessageForwardInfo as the whole.
|
2024-01-11 18:20:53 +03:00 |
|
levlam
|
2ff1a93d5b
|
Add td_api::cancelRecoveryEmailAddressVerification.
|
2024-01-11 14:51:29 +03:00 |
|
levlam
|
562374088c
|
Remove setTdlibParameters.enable_storage_optimizer/ignore_file_names parameters in favor of "use_storage_optimizer" and "ignore_file_names" options.
|
2024-01-11 13:54:23 +03:00 |
|
levlam
|
bf6345248f
|
Return keywords in searchEmojis.
|
2024-01-05 15:21:35 +03:00 |
|
levlam
|
f4bafbdc86
|
Add separate td_api::getKeywordEmojis.
|
2024-01-05 14:36:01 +03:00 |
|
levlam
|
4dc89d0b8d
|
Add StickersManager::prepare_search_emoji_query.
|
2024-01-05 14:20:00 +03:00 |
|
levlam
|
0b5b4b8dab
|
Add synchronous td_api::getCountryFlagEmoji.
|
2024-01-05 13:42:46 +03:00 |
|
levlam
|
a9d1269567
|
Add more information to chatBoostFeatures.
|
2024-01-02 17:32:30 +03:00 |
|
levlam
|
8e2ef00696
|
Apply message self-destruct type changes for being sent messages.
|
2024-01-02 15:38:43 +03:00 |
|
levlam
|
052f6cb20c
|
Allow to send self-destructing video notes and voice notes.
|
2024-01-02 14:51:16 +03:00 |
|
levlam
|
139b61e4b6
|
Add td_api::messageExpiredVideoNote and td_api::messageExpiredVoiceNote.
|
2024-01-02 14:27:11 +03:00 |
|
levlam
|
be8b21cdf4
|
Update layer to 171.
|
2024-01-02 03:23:51 +03:00 |
|
levlam
|
2b0d3f6091
|
Improve error message.
|
2024-01-25 17:33:11 +03:00 |
|
levlam
|
90cc7a5f9c
|
Improve logging.
|
2024-01-24 16:31:47 +03:00 |
|
levlam
|
741c80cf13
|
Fix log message.
|
2024-01-24 16:06:43 +03:00 |
|
levlam
|
fbd6f27d7b
|
Don't reload config on restart for bots.
|
2024-01-24 15:38:11 +03:00 |
|
levlam
|
a262f0a5f7
|
Avoid some initialization for bots.
|
2024-01-24 15:24:16 +03:00 |
|
levlam
|
e7fbcd9d2a
|
Call G()->is_test_dc() only once.
|
2024-01-24 15:01:14 +03:00 |
|
levlam
|
f24bc41596
|
Move setting of default option values from ContactsManager to OptionManager.
|
2024-01-24 14:59:09 +03:00 |
|
levlam
|
13c94c7731
|
Don't init BackgroundManager for bots.
|
2024-01-24 14:48:17 +03:00 |
|
levlam
|
0c0c24e7d0
|
Don't log updateOption for bots.
|
2024-01-24 14:40:56 +03:00 |
|