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
ed4f18bfaf
Don't allow to call get_id() on non-abstract classes.
2024-01-22 19:46:12 +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
levlam
5bbfc1cf5d
Update premium options on launch only for regular users.
2024-01-23 21:03:04 +03:00
levlam
3cb6ed90db
Directly use thread-unsafe key value when initializing it.
2024-01-23 20:36:29 +03:00
levlam
0c8e63c2f5
Optimize set_default_integer_option.
2024-01-23 20:29:31 +03:00
levlam
8d2d2de0d0
Add set_default_integer_option lambda-helper.
2024-01-23 20:16:26 +03:00
levlam
0190bf2b1f
Use for_each instead of a temporary map in OptionManager::OptionManager.
2024-01-23 19:42:28 +03:00
levlam
cd3cc873f0
Fix usage of unsupported chat identifier.
2024-01-23 19:05:39 +03:00
levlam
60f2f75b78
Minor improvements.
2024-01-22 13:11:04 +03:00
levlam
ee8f00c7a1
Improve InternalLinkType documentation.
2024-01-22 12:55:18 +03:00
levlam
1f116cdd99
Reuse the same PublicRsaKeySharedMain object.
2024-01-22 02:52:58 +03:00
levlam
0dd1934090
Use separate implementations for main and CDN RSA keys.
2024-01-22 02:15:26 +03:00
levlam
e52d08da74
Use PublicRsaKeyInterface in AuthDataShared.
2024-01-22 01:55:16 +03:00
levlam
d5c3456085
Remove default NerQueryDispatcher constructor.
2024-01-22 01:39:31 +03:00
levlam
b4c075593e
Log received message info.
2024-01-21 01:50:20 +03:00
levlam
674b380bd5
Never ask for ack for service queries.
2024-01-21 01:31:24 +03:00
levlam
09c6bad8bd
Remove pinned message notification only if new pinned message is added to Mentions.
2024-01-20 03:30:10 +03:00
levlam
2a9393ff7a
Add "process_pinned_messages_as_mentions" option to allow keep previous behavior.
2024-01-19 22:23:26 +03:00
levlam
121fbe535f
Create dependent chats right after Message object creation.
2024-01-18 15:21:44 +03:00
levlam
021c0bd02d
Improve logging.
2024-01-18 14:59:53 +03:00
levlam
e5f9e4c400
Decrease UPDATE_APPLY_WARNING_TIME and improve logging.
2024-01-17 16:50:08 +03:00
levlam
14c93b1772
Fix added_message_full_id initialization.
2024-01-16 21:40:25 +03:00
levlam
6d910597e5
Delete message from map after using.
2024-01-16 21:36:24 +03:00
levlam
c2277a1044
Add source to get_user_full_force.
2024-01-15 14:12:00 +03:00
Liru Færs
0f98d76683
Fix DialogActionManager::send_dialog_action in secret chats ( #2756 )
...
* Fix DialogActionManager::send_dialog_action in secret chats
The code in `DialogActionManager::send_dialog_action` made the assumption that since we'd either have early returned or `DialogManager::have_input_peer` would be true, and therefore the else block of the conditional, which intended to set input_peer, should have done so successfully.
However, `DialogManager::have_input_peer` will return true for secret chats when `contacts_manager->have_input_encrypted_peer`
And `DialogManager::get_input_peer` will return a `nullptr` for secret chats by design (I believe this is because they operate using structures that are currently incompatible)
This should fix the root of a crash that happens when typing in or sending messages to secret chats on:
Telegram X 0.26.4.1678-arm64-v8a (99b10675)
TDLib: 1.8.23 (tdlib/td@4bafdc2 )
* Move CHECK below SecretChat case instead per feedback
2024-01-15 01:02:56 +03:00
levlam
58c457ab5f
Add NotificationManager::parse_push_notification_attach.
2024-01-14 23:05:35 +03:00
levlam
3e8d368ba5
Add NotificationManager::add_push_notification_user.
2024-01-14 22:52:52 +03:00
levlam
ffdb02374e
Simplify Manager actor reset.
2024-01-13 02:08:28 +03:00
levlam
916e5de43e
Simplify code for manager reset.
2024-01-13 01:28:15 +03:00
levlam
96fee82699
Use separate initialization functions for different Manager types.
2024-01-13 00:59:17 +03:00
levlam
8b97d2e8e4
Move binlog events processing to Td::process_binlog_events.
2024-01-13 00:42:49 +03:00
levlam
0aa8816c28
Don't always treat pins as mentions.
2024-01-12 18:15:19 +03:00
levlam
4bafdc2b71
Fix MessagesManager::drop_dialog_last_pinned_message_id.
2024-01-12 12:16:51 +03:00
levlam
5d7c69d0d1
Remove CallManager::Update typedef.
2024-01-11 13:36:38 +03:00
levlam
d029eff807
Minor improvements.
2024-01-11 00:12:16 +03:00
levlam
21418140bd
Fix removal of message reply for failed to send forwarded messages.
2024-01-10 22:01:39 +03:00
levlam
a10f03cde1
Add sanity check.
2024-01-10 21:41:13 +03:00
levlam
5e0301db45
Improve fatal error message on app downgrade.
2024-01-10 21:20:17 +03:00
levlam
17a412a04a
Don't delete notifications when initializing last_new_message_id. There should be no old notifications anyway (2).
2024-01-10 21:08:43 +03:00
levlam
bc5b1f4e19
Remove unavailable messages from the list of linked messages.
2024-01-10 20:22:45 +03:00
levlam
509908edda
Don't register users/channels in unknown channels.
2024-01-10 20:07:56 +03:00
levlam
7f844b637f
Correctly update self speculative channel status while joining it.
2024-01-10 18:03:41 +03:00
levlam
1fa64892e1
Don't count non-member creator in administrator count.
2024-01-10 17:49:17 +03:00
levlam
44eba3d214
Combine JoinChannel queries.
2024-01-10 17:42:14 +03:00
levlam
faee94b680
Apply message auto-delete time from chat creation message.
2024-01-10 17:20:13 +03:00
levlam
4d51b2c875
Move create_new_chat/create_new_channel to ContactsManager.
2024-01-10 17:09:09 +03:00
levlam
a409af0973
Move migrate_dialog_to_megagroup to ContactsManager.
2024-01-10 15:57:19 +03:00
levlam
1bc8e90c10
Move create_new_secret_chat to ContactsManager.
2024-01-10 15:20:16 +03:00
levlam
da031b3faa
Allow \r and other empty entities as a separator between MarkdownV2 blockquotes.
2024-01-10 14:36:27 +03:00
levlam
ce8a4b6d21
tg_cli: use preset message_thread_id_ in requests where it is optional.
2024-01-10 13:16:37 +03:00
levlam
c6154c43aa
Don't store message interaction info for bots.
2024-01-09 10:59:24 +03:00
levlam
3817f2cb6b
Minor improvements.
2024-01-08 19:26:34 +03:00
levlam
7b6ce8b822
Move reload_dialog_info to DialogManager.
2024-01-08 19:20:22 +03:00
levlam
9a90089879
Move check_dialog_username to DialogManager.
2024-01-08 19:14:41 +03:00
levlam
466c841b4e
Move send_update_add_chat_members_privacy_forbidden to DialogParticipantManager.
2024-01-08 18:57:44 +03:00
levlam
127b7ad086
Add DialogParticipantManager::speculative_add_channel_user.
2024-01-08 18:50:18 +03:00
levlam
b1d72276a7
Move set_channel_participant_status and similar methods to DialogParticipantManager.
2024-01-08 18:44:13 +03:00
levlam
9660a7f2b1
Move set_dialog_participant_status and similar methods to DialogParticipantManager.
2024-01-08 18:15:21 +03:00
levlam
50b5a6e9bf
Move channel participant cache to DialogParticipantManager.
2024-01-08 18:03:04 +03:00
levlam
bba173ea7d
Move get_channel_participant to DialogParticipantManager.
2024-01-08 17:45:04 +03:00
levlam
f8565154a1
Move get_dialog_participant to DialogParticipantManager.
2024-01-08 17:35:24 +03:00
levlam
f1a4579e67
Move bot chat member updates to DialogParticipantManager.
2024-01-08 17:27:32 +03:00
levlam
82e59914cd
Minor improvements.
2024-01-08 15:42:21 +03:00
levlam
d832d5a70f
Move chat administrators to DialogParticipantManager.
2024-01-08 15:23:16 +03:00
levlam
d1251e47a6
Move chat join request processing to DialogParticipantManager.
2024-01-08 14:36:18 +03:00
levlam
b579fcd3e0
Rename DialogOnlineMemberManager to DialogParticipantManager.
2024-01-08 14:22:44 +03:00
levlam
55faa7ad0b
Fix parameter name.
2024-01-08 14:15:15 +03:00
levlam
e4c816d33c
Move methods for chat invite link management to DialogInviteLinkManager.
2024-01-08 14:09:58 +03:00
levlam
5a1b4b8d71
Move DialogAccessByInviteLink to DialogInviteLinkManager.
2024-01-08 13:40:28 +03:00
levlam
409778b760
Move check/join by chat invite link to DialogInviteLinkManager.
2024-01-08 13:25:31 +03:00
levlam
ebf2f95681
Add DialogInviteLinkManager.
2024-01-08 12:43:31 +03:00
levlam
90b8acff67
Add and use BotCommands::update_all_bot_commands.
2024-01-08 01:44:58 +03:00
levlam
b4ac2653cd
Move delete_dialog to DialogManager.
2024-01-08 01:27:49 +03:00
levlam
64c646b9de
Use resolve_dialog_username internally.
2024-01-08 00:31:07 +03:00
levlam
a2c6f4aa7c
Move resolved usernames to DialogManager.
2024-01-07 23:45:33 +03:00
levlam
dc3929fede
Remove is_unsent_animated_emoji_click proxy function.
2024-01-07 01:08:41 +03:00
levlam
b684039566
Move some methods to DialogActionManager.
2024-01-07 00:46:36 +03:00
levlam
4bc9f8d72e
Add DialogActionManager.
2024-01-06 22:56:28 +03:00
levlam
bd7f900df8
Move relevant methods to MessageImportManager.
2024-01-06 22:45:27 +03:00
levlam
f5a776b67c
Add MessageImportManager.
2024-01-06 22:06:52 +03:00
levlam
cb6c15b9c9
Explicitly check message content before trying to register it for bots.
2024-01-05 18:43:53 +03:00
levlam
cb013c999a
Don't keep restriction reasons for bots.
2024-01-05 18:24:35 +03:00
levlam
99a6c04dd3
Move online_member_dialogs out of User.
2024-01-05 12:33:53 +03:00
levlam
884a16f1ed
Partly move report_dialog to DialogManager.
2024-01-04 22:46:13 +03:00
levlam
c24bd49cce
Move set_dialog_photo to DialogManager.
2024-01-04 20:44:12 +03:00
levlam
e5f0b33508
Move toggle_dialog_has_protected_content to DialogManager.
2024-01-04 20:25:41 +03:00
levlam
17012dff1c
Move set_dialog_permissions to DialogManager.
2024-01-04 20:20:18 +03:00
levlam
fd45eb84f5
Move set_dialog_title to DialogManager.
2024-01-04 20:15:29 +03:00
levlam
57f1b32617
Move remove_secret_chat_dialog_ids to DialogId.
2024-01-04 19:55:48 +03:00
levlam
c0a0f7de07
Move on_dialog_info_full_invalidated to DialogManager.
2024-01-04 19:52:31 +03:00
levlam
a719ed42be
Simplify conditions for reloading chat full info.
2024-01-04 19:47:27 +03:00
levlam
249598a711
Move get_common_dialogs to CommonDialogManager.
2024-01-04 19:30:58 +03:00
levlam
8d7058109c
Add CommonDialogManager.
2024-01-04 19:20:14 +03:00
levlam
2c6917d044
Simplify RecentDialogList::removed_dialog_ids_ implementation.
2024-01-04 19:10:15 +03:00
levlam
f43807ebbf
Don't try to remove chat from recent for bots.
2024-01-04 19:06:50 +03:00
levlam
3003679192
Move online member count to DialogOnlineMemberManager.
2024-01-04 18:30:12 +03:00
levlam
211071970e
Add DialogOnlineMemberManager.
2024-01-04 18:02:36 +03:00
levlam
52b8e295ca
Minor include improvements.
2024-01-04 16:46:53 +03:00
levlam
6d1f6e250f
Add DialogManager::is_dialog_removed_from_dialog_list.
2024-01-04 16:32:04 +03:00
levlam
d24a0eda1d
Move get_peers_dialog_ids to DialogManager.
2024-01-04 16:24:19 +03:00
levlam
b97fa08e62
Move get_input_dialog_id to DialogManager.
2024-01-04 16:20:15 +03:00
levlam
32898dbe88
Move get_chat_ids_object and get_chats_object to DialogManager.
2024-01-04 16:13:20 +03:00
levlam
ebda6f1364
Use DialogManager::get_my_dialog_id.
2024-01-04 15:49:02 +03:00
levlam
eb5a37e927
Add DialogManager::force_create_dialog.
2024-01-04 15:38:01 +03:00
levlam
978be7206f
Use DialogManager::have_dialog_force.
2024-01-04 15:26:42 +03:00
levlam
b2fccc7d9c
Move ContactsManager proxy methods to DialogManager.
2024-01-03 23:07:50 +03:00
levlam
36f6a97b58
Fix setting of global DialogFilter manager.
2024-01-02 16:43:09 +03:00
levlam
7897ab1ada
Add empty DialogManager.
2024-01-02 16:22:25 +03:00
levlam
2bfe13f832
Set parser error if invalid reaction is stored in database.
2024-01-02 03:03:39 +03:00
levlam
0e2b7eab27
Ensure that messageReaction.total_count isn't less than the number of recent users.
2024-01-02 02:54:57 +03:00
levlam
d963044eb9
Update copyright year.
2024-01-01 03:07:21 +03:00
levlam
6d79dd9ea8
Keep forward info for audios and stories forwarded to saved messages.
2023-12-30 22:14:50 +03:00
AYMEN Mohammed
fb27c7c0b4
Fix typo.
2023-12-29 13:51:37 +03:00
Fela
c73222b33b
Pass is_pinned while creating event log messages
2023-12-29 13:51:24 +03:00
levlam
27c3eaeb49
Update version to 1.8.23.
2023-12-28 00:36:12 +03:00
levlam
45b6506cbf
Ignore user in unclaimed giveaway boost.
2023-12-27 22:38:57 +03:00
levlam
04a6ab8959
Improve documentation of chat boost features.
2023-12-26 23:11:30 +03:00
levlam
49dc00ade2
Remove unused forward declaration.
2023-12-26 21:56:51 +03:00
levlam
6e410b849c
Improve documentation.
2023-12-26 21:52:53 +03:00
levlam
e3a01fddd7
Improve includes.
2023-12-26 21:39:48 +03:00
levlam
571fbd68aa
Add td_api::openChatSimilarChat.
2023-12-26 21:24:04 +03:00
levlam
4a45265926
Add td_api::internalLinkTypePremiumGift.
2023-12-26 21:01:33 +03:00
levlam
65903180a4
Add td_api::chatBoostFeatures.
2023-12-26 20:31:53 +03:00
levlam
54bd830f49
Add td_api::getChatBoostLevelFeatures.
2023-12-26 20:20:41 +03:00
levlam
0edbb14ad2
Improve setChatAccentColor documentation.
2023-12-26 19:22:27 +03:00
levlam
969f4a764f
Remove "channel_custom_accent_color_boost_level_min" option.
2023-12-26 19:20:06 +03:00
levlam
e4038723b2
Support internal min boost level options.
2023-12-26 19:12:00 +03:00
levlam
cd27c67beb
Pass-through PREMIUM_SUB_ACTIVE_UNTIL_* errors.
2023-12-26 18:41:41 +03:00
levlam
7a2e2c4ee0
Add paymentProviderSmartGlocal.tokenize_url.
2023-12-26 18:33:02 +03:00
levlam
015976e4f1
Fix story area type.
2023-12-26 18:04:31 +03:00
levlam
aa0db44a9a
Improve documentation.
2023-12-26 18:03:25 +03:00
levlam
91013ee921
Add "chat_available_reaction_count_max" option.
2023-12-26 17:11:34 +03:00
levlam
45eca4e8d2
Delete td_api::addApplicationChangelog.
2023-12-26 16:51:58 +03:00
levlam
07bf49d42e
Improve logging in need_channel_difference_to_add_message.
2023-12-26 15:54:40 +03:00
levlam
2a685bc9ab
Early process received users and chats.
2023-12-26 15:52:17 +03:00
levlam
c3c14ee65e
Add td_api::getChatStoryInteractions.
2023-12-26 14:24:42 +03:00
levlam
e83e1ba095
Support telegram_api::StoryReaction.
2023-12-26 13:57:43 +03:00
levlam
8655fbe5d7
Add getStoryInteractions.prefer_forwards.
2023-12-26 13:47:24 +03:00
levlam
b196d38a68
Get channel difference if needed before processing story views list.
2023-12-26 13:11:22 +03:00
levlam
8900038324
Add and use generic MessagesManager::get_channel_differences_if_needed.
2023-12-26 12:02:53 +03:00
levlam
53cf01e7bf
Support various types of story interactions.
2023-12-25 22:07:02 +03:00
levlam
be785dd673
Improve StoryViewer constructor.
2023-12-25 17:30:26 +03:00
levlam
05651f587d
Add StoryViewer::is_valid.
2023-12-25 16:34:38 +03:00
levlam
964663948d
Improve StoryViewer getters.
2023-12-25 16:32:41 +03:00
levlam
a4ed86c44e
Update BlockList in StoryViewers::StoryViewers.
2023-12-25 15:52:03 +03:00
levlam
b3d19e51e5
Rename storyViewer to storyInteraction.
2023-12-25 15:34:47 +03:00
levlam
ca2cf0e25c
Add storyViewers.total_forward_count.
2023-12-25 15:10:48 +03:00
levlam
c4efc0e2e0
Add td_api::setChatEmojiStatus.
2023-12-25 14:49:22 +03:00
levlam
b1db06d627
Fix update of channel emoji status.
2023-12-25 03:01:45 +03:00
levlam
5979276116
Enable updateChatAvailableReactions for bots.
2023-12-25 02:50:20 +03:00
levlam
aab1bf4fa5
Check for default channel statuses in StickersManager::is_default_emoji_status.
2023-12-24 02:38:17 +03:00
levlam
1494d5fcdf
Add td_api::getDisallowedChatEmojiStatuses.
2023-12-24 02:30:49 +03:00
levlam
8090aac1c1
Add stickerSet.is_allowed_as_chat_emoji_status.
2023-12-24 01:23:15 +03:00
levlam
02159a2fce
Fix spelling.
2023-12-23 02:16:03 +03:00
levlam
d79114691c
Replace td_api::messageUserShared with td_api::messageUsersShared.
2023-12-22 19:17:58 +03:00
levlam
66c6e706ab
Replase td_api::shareUserWithBot with td_api::shareUsersWithBot.
2023-12-22 18:47:23 +03:00
levlam
590b3f3c25
Replace td_api::keyboardButtonTypeRequestUser with td_api::keyboardButtonTypeRequestUsers.
2023-12-22 18:06:40 +03:00
levlam
9f9884f2f5
Update setChatBackground documentation.
2023-12-22 13:36:46 +03:00
levlam
f07d21ac6b
Add td_api::getDefaultChatEmojiStatuses.
2023-12-22 12:29:12 +03:00
levlam
e2747b6c76
Add td_api::getThemedChatEmojiStatuses.
2023-12-21 22:44:59 +03:00
levlam
40b585d74f
Support channel emoji status.
2023-12-21 21:05:42 +03:00
levlam
7f6bdcd42c
Add channel.boost_level.
2023-12-21 20:08:30 +03:00
levlam
5cb6ca27cc
Add Chat.emoji_status.
2023-12-21 20:01:26 +03:00
levlam
8e85ef9e40
Don't mark background as inited for channels.
2023-12-21 19:10:05 +03:00
levlam
fabcce43c6
Update channel background from ChannelFull.
2023-12-21 19:08:06 +03:00
levlam
88b2781685
Add min_chat_boost_level to accentColor/profileAccentColor.
2023-12-21 18:48:15 +03:00
levlam
022c227515
Add td_api::suggestedActionGiftPremiumForChristmas.
2023-12-21 18:16:32 +03:00
levlam
24611b1fd5
Improve messagePremiumGiveawayWinners documentation.
2023-12-21 17:25:39 +03:00
levlam
b7f5949b98
Add is_supported_reply_message_content.
2023-12-21 17:24:21 +03:00
levlam
092144cf43
Update background_custom_emoji_id documentation.
2023-12-19 19:34:24 +03:00
levlam
9d0bbc4d35
Improve inputStoryAreas documentation.
2023-12-19 19:25:59 +03:00
levlam
14b81a2d48
Always apply background from new message in groups and channels.
2023-12-19 16:24:06 +03:00
levlam
93aa765f44
Add td_api::backgroundTypeChatTheme for boosted chats.
2023-12-19 16:00:50 +03:00
levlam
b3ce27c4ea
Add separate deleteDefaultBackground method.
2023-12-19 14:38:37 +03:00
levlam
0fc3b3adc6
Improve names of background-related methods.
2023-12-19 14:33:21 +03:00
levlam
325f56dfe0
Improve name of updateDefaultBackground update.
2023-12-19 14:21:46 +03:00
levlam
b4ea9f8a18
Improve premiumGiftCodeInfo documentation.
2023-12-19 13:31:02 +03:00
levlam
855d6bf568
Support getPremiumGiveawayInfo for GiveawayWinners messages.
2023-12-19 13:07:41 +03:00
levlam
fd0135393c
Process chats from stories.storyViewsList.
2023-12-19 13:04:21 +03:00
levlam
0b51acefe9
Add td_api::messagePremiumGiveawayWinners.
2023-12-18 21:03:11 +03:00
levlam
299b87c524
Add td_api::chatEventEmojiStatusChanged.
2023-12-18 16:38:40 +03:00
levlam
6b85c09d14
Add td_api::chatEventBackgroundChanged.
2023-12-18 16:30:52 +03:00
levlam
c03650a920
Add td_api::chatEventProfileAccentColorChanged.
2023-12-18 16:03:15 +03:00
levlam
6b0e161fa2
Combine td_api::chatEventAccentColorChanged and td_api::chatEventBackgroundCustomEmojiChanged.
2023-12-18 16:00:01 +03:00
levlam
9171588824
Add class PeerColor.
2023-12-18 15:51:11 +03:00
levlam
67422ffb47
Rename StoryPublicForward to PublicForward.
2023-12-18 14:59:50 +03:00
levlam
5725cf0388
Add td_api::storyAreaTypeMessage.
2023-12-18 14:40:11 +03:00
levlam
895150e649
Add optional currency information to messagePremiumGiftCode.
2023-12-18 13:30:21 +03:00
levlam
1393033fdf
Add td_api::setChatProfileAccentColor.
2023-12-17 23:34:58 +03:00
levlam
d6423f60be
Remove separate UpdateProfileColorQuery.
2023-12-17 23:12:03 +03:00
levlam
7ceccad807
Support profile color and custom emoji in chat.
2023-12-17 22:54:55 +03:00
levlam
16d0c3c61b
Use combined updateChatAccentColors.
2023-12-16 11:49:26 +03:00
levlam
e4e76a7483
Add td_api::setMessageReactions for bots.
2023-12-15 14:51:26 +03:00
levlam
cc37a0c937
Add td_api::updateMessageReactions for bots.
2023-12-14 23:44:31 +03:00
levlam
00aff8f557
Add td_api::updateMessageReaction for bots.
2023-12-14 19:55:53 +03:00
levlam
58e8b7c97e
Support creation of giveaways with public list of winners and additional prize description.
2023-12-05 13:45:32 +03:00
levlam
c6ce44815e
Update layer to 169.
2023-12-05 12:30:12 +03:00
levlam
15132a398f
Remove check in backgrounf parsing.
2023-12-22 16:48:16 +03:00
levlam
3e42417a0f
Log results of message deletion.
2023-12-22 16:31:53 +03:00
levlam
5b8fff9643
Allow messagePremiumGiftCode.creator_id == null.
2023-12-22 12:51:58 +03:00
levlam
d60bb8da91
Add MessagesManager::update_replied_by_message_count.
2023-12-21 17:10:09 +03:00
levlam
bd1768954a
Add and use MessagesManager::get_message_reply_to_random_id.
2023-12-20 23:25:54 +03:00
levlam
4dbcfce77d
Randomly choose session among sessions with the same minimum query count.
2023-12-19 21:01:32 +03:00
levlam
15b8ad5c66
Add MediaArea::get_input_media_areas.
2023-12-18 14:24:07 +03:00
levlam
50f20c8a0c
Assign message identifier in create_message_to_send.
2023-12-17 01:06:40 +03:00
levlam
08222894e9
Check link types in alphabetical order.
2023-12-16 23:45:45 +03:00
levlam
a815bd74a1
Pass some parameters as const reference.
2023-12-15 00:11:59 +03:00
levlam
53ee8caf37
Simplify QTS update processing.
2023-12-14 23:27:46 +03:00
levlam
0072ff225b
Add static methods for processing of vector<ReactionType>.
2023-12-14 18:46:52 +03:00
levlam
0a53e5ad0e
Set bot online timeout right after authorization.
2023-12-14 15:59:16 +03:00
levlam
2bf1dcd6eb
Add source to get_channel_difference_if_needed.
2023-12-13 19:48:11 +03:00
levlam
542271a1fd
Don't save get_id() to a used-once variable before switch.
2023-12-12 23:20:41 +03:00
levlam
dce778442c
Allow 0 as giveaway_message_id in messagePremiumGiveawayCompleted.
2023-12-11 00:44:47 +03:00
levlam
c257615f9a
Remove now unused function is_hidden_data_entity.
2023-12-10 13:37:32 +03:00
levlam
745c40855a
Exclude installed sticker sets from searchStickerSets response.
2023-12-09 23:14:19 +03:00
levlam
d8eab25e82
Allow to use addChatMembers with one user in basic groups.
2023-12-08 14:30:01 +03:00
levlam
559cbe5de9
Always update premium-dependent options.
2023-12-08 12:57:13 +03:00
levlam
44844e1c19
Improve link preview options comparison.
2023-12-07 21:16:37 +03:00
levlam
f4f46c9a79
Don't try to process stories inside message content by bots.
2023-12-07 13:34:37 +03:00
levlam
a7c81ae21b
Always extract web_page_url for bots.
2023-12-07 12:48:33 +03:00
levlam
b210e79f97
Save link preview URL if size of the media is fixed or message text is empty.
2023-12-06 12:57:49 +03:00
levlam
0f4e01bde3
Keep reply content if it has link preview options.
2023-12-06 12:28:37 +03:00
levlam
ef68428e01
Improve documentation of only_new_members.
2023-12-05 17:03:21 +03:00
levlam
4ac5708135
Remove redundant is_valid checks before adding an identifier as dependency.
2023-12-04 22:18:08 +03:00
levlam
f08b63268a
Support more cases for min-users and min-channels.
2023-12-04 22:13:25 +03:00
levlam
85c8c19b7f
Fix profileAccentColor documentation.
2023-12-04 19:15:15 +03:00
levlam
4c052a5efa
Don't remove whitespace-only entities.
2023-12-04 18:33:40 +03:00
levlam
9a9e3be8cf
Trim quote from the replied message.
2023-12-04 16:27:15 +03:00
levlam
99f9b78819
Support messagePremiumGiveawayCompleted in getRepliedMessage.
2023-12-04 12:34:58 +03:00
levlam
9577a457c5
Improve documentation.
2023-12-04 12:24:26 +03:00
levlam
1b42476416
Add sanity checks.
2023-12-04 11:39:48 +03:00
levlam
3f00bebf63
Add missing checks fpr database existence.
2023-12-03 13:18:33 +03:00
levlam
4c1f6d6608
Fix misprint by @AYMENJD.
2023-12-02 22:19:48 +03:00
levlam
24893faf75
Update version to 1.8.22.
2023-12-01 23:19:05 +03:00
levlam
7728c1deb3
Don't hide sender of a story being reposted.
2023-12-01 23:10:59 +03:00
levlam
d1ce646e61
Require less rights for channel story statistics.
2023-12-01 22:36:20 +03:00
levlam
8ab0a152cd
Just delete chat background if revert failed.
2023-12-01 11:56:30 +03:00
levlam
762c224c10
Add deleteChatBackground.restore_previous.
2023-12-01 01:06:54 +03:00
levlam
330088d9f8
Add separate td_api::deleteChatBackground method.
2023-12-01 00:20:11 +03:00
levlam
f05f2a67f1
Add BackgroundManager::get_background_dialog method.
2023-12-01 00:14:25 +03:00
levlam
072f811a9c
Apply chat background set by the other user.
2023-11-30 21:49:32 +03:00
levlam
6f3180aeaf
Don't warn about pre-release messages.
2023-11-30 21:11:19 +03:00
levlam
e2ce0e7a0b
Keep logging only if the chat has active stories.
2023-11-30 20:32:16 +03:00
levlam
fc8bc0a026
Improve method names.
2023-11-30 20:13:49 +03:00
levlam
da1f23a6f9
Fix RecommendedDialogs::parse.
2023-11-30 19:37:48 +03:00
levlam
392f5e24b3
Improve supergroup.member_count documentation.
2023-11-30 19:08:46 +03:00
levlam
ecadb90ac8
Improve documentation.
2023-11-30 18:43:38 +03:00
levlam
9096e646b8
Minor improvements.
2023-11-30 18:26:33 +03:00
levlam
1604ee7b1d
Improve includes.
2023-11-30 18:13:23 +03:00
levlam
9bf9bf767d
Add td_api::getStoryPublicForwards.
2023-11-30 17:21:56 +03:00
levlam
7afab3e805
Reduce total timeout limit for speechRecognition.
2023-11-30 13:50:46 +03:00
levlam
8859f40e89
Allow to specify original story in sendStory.
2023-11-29 22:10:51 +03:00
levlam
238c0e901f
Load recommended channels from database.
2023-11-29 19:35:27 +03:00
levlam
dcad0f413e
Add td_api::story.repost_info.
2023-11-29 19:22:54 +03:00
levlam
da0d999c52
Add td_api::getSimilarChatCount.
2023-11-29 15:31:33 +03:00
levlam
85b06f9614
Add ContactsManager::finish_load_channel_recommendations_queries.
2023-11-29 15:11:55 +03:00
levlam
fa91aeb065
Add ContactsManager::fail_load_channel_recommendations_queries.
2023-11-29 15:04:21 +03:00
levlam
f792e9d45e
Don't check permissions for added local messages.
2023-11-29 14:17:49 +03:00
levlam
5a40d432ea
Fix premium feature names.
2023-11-29 13:33:14 +03:00
levlam
ec98830565
Improve error messages.
2023-11-29 01:06:13 +03:00
levlam
341fb7c04f
Add td_api::textQuote.
2023-11-28 18:24:07 +03:00
levlam
c5288258d4
Add class inputTextQuote.
2023-11-28 18:16:04 +03:00
levlam
c9e83daec6
Allow to reset accent_color_id to default.
2023-11-28 16:17:51 +03:00
levlam
9fbdba456a
Add td_api::setProfileAccentColor.
2023-11-28 16:12:21 +03:00
levlam
45ca900759
Add user.profile_accent_color_id/profile_background_custom_emoji_id.
2023-11-28 15:45:39 +03:00
levlam
fb03b92fa2
Don't warn if entity lanaguage code is added by the server.
2023-11-28 14:57:30 +03:00
levlam
d519262785
Document that supergroup.member_count is available for chats returned by getSimilarChats.
2023-11-28 14:36:33 +03:00
levlam
3ec308589d
Fix misprint.
2023-11-28 14:35:39 +03:00
levlam
ea9e99407f
Add "chat_boost_level_max" option.
2023-11-28 14:31:43 +03:00
levlam
00f09dae62
Add td_api::premiumLimitTypeSimilarChatCount.
2023-11-28 14:22:08 +03:00
levlam
dd5bd9fff6
Add td_api::premiumFeatureBackgroundForBoth.
2023-11-28 14:11:46 +03:00
levlam
e51da2da32
Update name of premiumFeatureAccentColor.
2023-11-28 14:06:37 +03:00
levlam
16e3eb2a8a
Check color validness.
2023-11-27 18:40:02 +03:00
levlam
86a78f725f
Log updateProfileAccentColors and updateAccentColors on one line.
2023-11-27 18:12:06 +03:00
levlam
60eb989657
Add td_api::updateProfileAccentColors.
2023-11-27 18:08:45 +03:00
levlam
fbcd4c7198
Use help.getPeerColors to update accent colors.
2023-11-27 16:35:27 +03:00
levlam
d08796fade
Reload chat themes with other data.
2023-11-27 13:34:14 +03:00
levlam
a32b11de98
Delete similar chats from database when losing read access to the chat.
2023-11-25 21:44:54 +03:00
levlam
5b6c024aaa
Support partial lists for recommended channels.
2023-11-24 13:53:10 +03:00
levlam
f0debd7bb8
Don't update cooldown date with wait time if it is initialized already.
2023-11-24 13:28:39 +03:00
levlam
1e5db44c0d
Support telegram_api::updatePeerWallpaper.wallpaper_overridden.
2023-11-23 23:12:59 +03:00
levlam
18377ae3e7
Add userFullInfo.set_chat_background.
2023-11-23 23:08:53 +03:00
levlam
4d98fd1a44
Send updateSpeechRecognitionTrial when it resets.
2023-11-23 16:16:39 +03:00
levlam
2dd9da30be
Improve updateSpeechRecognitionTrial.
2023-11-23 15:35:54 +03:00
levlam
50a360c147
Update trial parameters after speech recognition.
2023-11-23 14:49:05 +03:00
levlam
fa6b61d764
Handle full messages.transcribedAudio.
2023-11-23 14:12:27 +03:00
levlam
ec109dfd4a
Move speech recognition to TranscriptionManager.
2023-11-23 13:25:56 +03:00
levlam
ab39c96b2c
Move transcription update subscription to TranscriptionManager.
2023-11-21 20:32:23 +03:00
levlam
1cdb210ed1
Save speech recognition trial parameters to binlog.
2023-11-21 20:08:05 +03:00
levlam
6793fa6aae
Add struct TrialParameters.
2023-11-21 19:51:07 +03:00
levlam
922a0428ed
Add TranscriptionManager::get_current_state.
2023-11-21 19:31:27 +03:00
levlam
e5f457c30f
Add updateSpeechRecognitionTrial.
2023-11-21 19:27:25 +03:00
levlam
a83f90448f
Add empty TranscriptionManager.
2023-11-21 15:14:26 +03:00
levlam
b55af58a69
Cache channel recommendations in database.
2023-11-21 14:13:06 +03:00
levlam
cf882ccc77
Add ContactsManager::are_suitable_recommended_dialogs.
2023-11-21 13:39:32 +03:00
levlam
21222604d0
Reload recommended chats from time to time.
2023-11-20 23:12:42 +03:00
levlam
b6bb02baad
Add td_api::getSimilarChats.
2023-11-20 22:03:21 +03:00
levlam
c1352603d5
Add recent story interactions in chat statistics.
2023-11-20 19:46:49 +03:00
levlam
72bf7f0cd7
Add mean reaction and story statistics.
2023-11-20 19:16:36 +03:00
levlam
e1299c8a27
Add td_api::messageSponsorTypeWebApp.
2023-11-20 14:34:56 +03:00
levlam
2d3f202c08
Add SponsoredMessage.button_text.
2023-11-17 15:06:20 +03:00
levlam
a689c8df56
Add Story.can_get_statistics.
2023-11-17 14:58:51 +03:00
levlam
cda21980b0
Add td_api::getStoryStatistics.
2023-11-17 14:26:51 +03:00
levlam
362f43303e
Add message reaction statistics.
2023-11-17 13:40:39 +03:00
levlam
f466628e20
Add reaction and story statistics for channels.
2023-11-17 13:38:31 +03:00
levlam
7165045699
Update setChatAvailableReactions documentation.
2023-11-17 12:49:10 +03:00
levlam
7ffcd56f23
Support telegram_api::updateChannelViewForumAsMessages updates.
2023-11-16 17:11:36 +03:00
levlam
a2b133ead5
Add td_api::toggleChatViewAsTopics.
2023-11-16 16:57:18 +03:00
levlam
57e9a6c5f7
Send updateChatDraftMessage when view_as_topics changes.
2023-11-16 15:19:54 +03:00
levlam
3261d9d72c
Store copy of Channel.is_forum in Dialog.
2023-11-16 15:04:57 +03:00
levlam
f13dde54a2
Add Chat.view_as_topics.
2023-11-16 13:59:32 +03:00
levlam
1c8205d6de
Add td_api::revertChatBackground.
2023-11-10 14:53:16 +03:00
levlam
aa7a0a6ee3
Allow to set chat background for both sides.
2023-11-10 14:40:14 +03:00
levlam
65e474ef49
Support telegram_api::updatePeerWallpaper.
2023-11-10 14:08:46 +03:00
levlam
b28200e0ef
Add messageChatSetBackground.only_for_self.
2023-11-10 13:55:59 +03:00
levlam
4f6ac3cd64
Ignore reply_to_message_id if set new background.
2023-11-10 13:45:18 +03:00
levlam
95304c611c
Support quote position for replies.
2023-11-10 13:29:37 +03:00
levlam
9207ba4c78
Add searchStickerSets.sticker_type.
2023-11-10 12:48:30 +03:00
levlam
9c88451e1c
Add td_api::messagePremiumGiveawayCompleted.
2023-11-09 20:28:27 +03:00
levlam
d20ed201b0
Update layer to 167.
2023-11-09 19:37:26 +03:00
levlam
1a9d769923
Remove unused Query class field.
2023-11-30 15:02:05 +03:00
levlam
edc7dbb038
Forcely preload chat in some StoryManager methods.
2023-11-29 20:10:48 +03:00
levlam
8484108704
Update supergroup.member_count documentation.
2023-11-26 00:00:55 +03:00
levlam
a84e46048d
Improve ConnectionState documentation.
2023-11-25 23:54:43 +03:00
levlam
968c0ad5ae
Improve documentation.
2023-11-25 23:41:21 +03:00
levlam
f03ffe1d31
Fix singular usages of "statistics".
2023-11-25 23:33:09 +03:00
levlam
e58847a5fb
Allow toggleChatIsTranslatable for non-premium users.
2023-11-25 22:01:51 +03:00
levlam
14ba66fb8b
Explicitly disable addProxy for watchOS and Emscripten.
2023-11-24 00:09:36 +03:00
levlam
499d4eaf54
Minor improvements.
2023-11-23 08:31:56 +03:00
levlam
2d15b1c7e6
Improve allow_custom_emoji documentation.
2023-11-23 08:07:20 +03:00
levlam
07c1d53a6d
Fix can_send_message_content for stickers.
2023-11-22 14:38:22 +03:00
levlam
89b0fbc8ff
Don't return error from recognizeSpeech for failed recognitions.
2023-11-21 16:16:14 +03:00
levlam
77d6df1437
Use the latest initConnection constructor.
2023-11-20 13:53:42 +03:00
levlam
3e3fe5f9bb
Improve ChatReactions field names.
2023-11-19 02:03:19 +03:00
levlam
ec788c7505
Always warn about manual quote change.
2023-11-18 00:06:31 +03:00
levlam
c847574dbf
Keep some allowance for truncated quote length.
2023-11-18 00:02:27 +03:00
levlam
1a70df54ca
Fix getChatBoosts.only_gift_codes.
2023-11-17 23:59:39 +03:00
levlam
8d1262ca6a
Add source to run_after_channel_difference.
2023-11-17 17:42:28 +03:00
levlam
0e8d062090
Fix handling of ToggleDialogIsTranslatableOnServer log events.
2023-11-16 16:38:59 +03:00
levlam
278ea0791f
Improve show_large_media documentation.
2023-11-16 15:31:16 +03:00
levlam
e914500eff
Remove stranded assignments.
2023-11-16 15:14:04 +03:00
levlam
aefbf0327f
tg_cli: support new lines in formatted text.
2023-11-16 11:58:54 +03:00
levlam
3e189cd8d1
Improve documentation.
2023-11-16 11:51:24 +03:00
levlam
23bdb8ed64
Fix used_sender_id documentation.
2023-11-16 11:49:08 +03:00
levlam
21ab0edef0
Allow empty block quotes in MarkdownV2.
2023-11-15 20:57:13 +03:00
levlam
6adce38062
Allow whitespace-only BlockQuote entities.
2023-11-15 20:29:55 +03:00
levlam
bf6d28be71
Improve documentation.
2023-11-15 16:57:39 +03:00
levlam
8cfcce6de2
Improve spelling in documentation.
2023-11-15 16:53:38 +03:00
levlam
15931d90e2
Optimize FullLocalFileLocation comparison.
2023-11-15 14:02:16 +03:00
levlam
131d96bc04
Optimize FullRemoteFileLocation::operator<.
2023-11-15 13:54:14 +03:00
levlam
d24af0436f
Improve premiumGiftCodeInfo.giveaway_message_id.
2023-11-14 14:45:38 +03:00
levlam
718d8dfdef
Improve background_custom_emoji_id documentation.
2023-11-13 19:13:40 +03:00
levlam
6c8df6fa7f
Improve is_content_read initialization.
2023-11-13 17:26:00 +03:00
levlam
28af2429fb
Use user_emoji_status_timeout_ only if last_sent_emoji_status is changed.
2023-11-13 15:16:16 +03:00
levlam
70828853e8
Simplify AuthManager::is_bot.
2023-11-13 15:07:21 +03:00
levlam
2a50068d7e
Prolong username cache only for bot usernames for bots.
2023-11-13 14:05:05 +03:00
levlam
9ab9680c21
Remove unneeded usernames.is_empty() checks.
2023-11-13 14:03:32 +03:00
levlam
c6d9b8f160
Initialize User/Chat flags first.
2023-11-13 13:44:15 +03:00
levlam
dc481550de
Don't get chat in on_dialog_usernames_received for bots.
2023-11-13 13:33:23 +03:00
levlam
88c05ace2c
Compare only identifiers for pending profile photos.
2023-11-13 13:19:58 +03:00
levlam
55bd922fed
Use less error-prone timeout time for channel unban.
2023-11-13 00:11:08 +03:00
levlam
413556bab7
Add and use MessagesManager::on_get_message_error.
2023-11-12 22:55:48 +03:00
levlam
24f74a018e
Correctly asynchronously destroy found_stickers_.
2023-11-11 09:21:07 +03:00
levlam
1d1d41e39e
Update chat background only from outgoing messages.
2023-11-10 18:44:25 +03:00
levlam
ee25630c2b
Delete duplicate of a just sent message before sending updateMessageSendSucceeded.
2023-11-10 18:43:04 +03:00
levlam
6ee64289f3
Fix MessagesManager::get_replied_message_id.
2023-11-09 18:23:36 +03:00
levlam
8ec587f537
Improve getRepliedMessage documentation.
2023-11-09 17:00:01 +03:00
levlam
9184b3e62d
Don't warn if sticker's emoji changes.
2023-11-09 02:15:35 +03:00
levlam
a538581a4b
Return back is_topic_message change.
2023-11-09 02:06:43 +03:00
levlam
67f76241e9
Improve error logging.
2023-11-09 01:52:20 +03:00
levlam
247eff6f58
Fix updates logging.
2023-11-09 01:46:02 +03:00
levlam
10dda3df77
Expect no access to messageMediaStory's chat.
2023-11-09 01:42:20 +03:00
levlam
4ce900c5fd
Improve draft message emptiness check.
2023-11-09 01:31:24 +03:00
levlam
9f909a43ea
Improve documentation.
2023-11-09 00:44:29 +03:00
levlam
ca3173e1e1
Don't reload chat/channel after receiving them for the first time.
2023-11-09 00:15:19 +03:00
levlam
7039272ae8
Add source to reload_user/chat/channel.
2023-11-08 23:48:27 +03:00
levlam
49a75ad084
Add source to QueryMerger::add_query.
2023-11-08 23:22:18 +03:00
levlam
776e992c45
Fix calls to on_update_channel_default_permissions.
2023-11-08 23:16:30 +03:00
levlam
a7c5b80b6d
Use QueryMerger for getMe queries to combine them.
2023-11-08 17:25:41 +03:00
levlam
3d163e8fb2
Preload self user to process updateBotStopped.
2023-11-08 17:04:51 +03:00
levlam
da9afda7e6
Fix SessionMultiProxy::update_options.
2023-11-08 11:26:37 +03:00
levlam
c926b16896
Support pre-existing BlockQuote entities in parseMarkdown.
2023-11-07 19:40:45 +03:00
levlam
70fef6b592
Always show large document, music, and voice note files in link preview.
2023-11-07 17:17:07 +03:00
levlam
9a614590c2
Improve has_large_media documentation.
2023-11-07 17:01:53 +03:00
levlam
31b5478048
Fix getRepliedMessage documentation.
2023-11-07 13:36:18 +03:00
levlam
21d5184e9f
Improve RepliedMessageInfo::get_same_chat_reply_to_message_id.
2023-11-07 03:43:48 +03:00
levlam
1522779b97
Return unchecked accent color id for bots.
2023-11-07 03:24:57 +03:00
levlam
08359b46fc
Improve RepliedMessageInfo::get_reply_message_full_id.
2023-11-07 02:48:01 +03:00
levlam
c886e4f3c8
Don't get channel difference before adding messages for bots.
2023-11-07 02:16:36 +03:00
levlam
d305476cfe
Load only accent colors in ThemeManager constructor.
2023-11-07 00:17:49 +03:00
levlam
3870c29b15
Update version to 1.8.21.
2023-11-06 20:52:28 +03:00
levlam
baed5606fb
Prevent unloading of replied polls.
2023-11-06 20:37:17 +03:00
levlam
da461f5da2
Register replies for yet unsent forwarded messages with external replies.
2023-11-06 19:15:47 +03:00
levlam
ea6fa8e5d2
Add URL emptiness check.
2023-11-06 19:04:43 +03:00
levlam
aba3f38a2f
Add RepliedMessageInfo::legacy static function instead of legacy constructors.
2023-11-06 18:29:47 +03:00
levlam
e9bf274f33
Log if link preview is disabled, but still present.
2023-11-06 15:59:10 +03:00
levlam
d1202f84a3
Fix warnings.
2023-11-06 15:47:35 +03:00
levlam
32cee07888
Fix MessageGiveawayLaunch.
2023-11-06 15:30:02 +03:00
levlam
728e2e18ee
Add messageSendingStateFailed.need_drop_reply.
2023-11-06 15:08:28 +03:00
levlam
6c74ee92dd
Improve fields name.
2023-11-06 14:46:12 +03:00
levlam
82fd344783
Improve country_codes documentation.
2023-11-06 13:59:22 +03:00
levlam
c21c9ec87e
Improve field name.
2023-11-06 13:51:49 +03:00
levlam
4985931f5c
Document that giveaways can't be copied.
2023-11-06 13:41:24 +03:00
levlam
8bd5f61ee7
Improve documentation spelling.
2023-11-06 13:31:30 +03:00
levlam
8228c2e7b6
Allow to change reply quote in resendMessages.
2023-11-06 13:20:16 +03:00
levlam
0139e73910
Reload replied message when receiving QUOTE_TEXT_INVALID.
2023-11-06 12:50:26 +03:00
levlam
e7f70d0e09
Add messageSendingStateFailed.need_another_reply_quote.
2023-11-06 12:42:06 +03:00
levlam
d0f6791777
Support PreCode entities in getMarkdownText.
2023-11-06 02:11:15 +03:00
levlam
000da35ad0
Always remove new line on the first empty line of Pre entity.
2023-11-06 02:03:29 +03:00
levlam
4983b8e9a3
Don't remove newline character after Pre entities.
2023-11-06 01:51:51 +03:00
levlam
c24f62d70b
Improve parse_markdown_v3 test.
2023-11-06 01:42:03 +03:00
levlam
8e8a7e0f18
Support language code specification for PreCode entities in parseMarkdown.
2023-11-06 00:45:24 +03:00
levlam
180afdec3e
Simplify RepliedMessageInfo.is_empty() check.
2023-11-05 21:51:46 +03:00
levlam
5455a0f681
Fix messageOriginChat documentation.
2023-11-05 13:56:37 +03:00
levlam
c8be7e5a41
Calculate webPage.show_large_media.
2023-11-04 04:12:55 +03:00
levlam
44492c69f5
Fix return type of searchQuote.
2023-11-03 23:31:04 +03:00
levlam
3b0e6420e0
Minor improvements.
2023-11-03 17:00:22 +03:00
levlam
43f1d6aacb
Early init ThemeManager.
2023-11-03 16:02:28 +03:00
levlam
9ab536efff
tg_cli: avoid logging in as_formatted_text.
2023-11-03 14:05:15 +03:00
levlam
682df38d96
Add td_api::searchQuote.
2023-11-03 13:51:38 +03:00
levlam
be63745e03
tg_cli: escape unused reserved characters.
2023-11-03 12:27:36 +03:00
levlam
2a9c7555be
Add accentColor.built_in_accent_color_id.
2023-11-02 23:37:42 +03:00
levlam
adc81fcea6
Fallback to default accent color for the chat.
2023-11-02 22:32:59 +03:00
levlam
00a6167952
Never send unknown accent color identifiers to the app.
2023-11-02 22:11:54 +03:00
levlam
25ef762e25
Remove class accentColorId.
2023-11-02 22:03:13 +03:00
levlam
3f8362a4bb
Save accent colors to binlog.
2023-11-02 21:52:59 +03:00
levlam
4489ef54aa
Add td_api::updateAccentColors.
2023-11-02 21:30:38 +03:00
levlam
08888d5ead
Don't forget old colors.
2023-11-02 14:25:40 +03:00
levlam
ab5219f546
Parse accent colors from appConfig.
2023-11-02 14:21:55 +03:00