Commit Graph

11958 Commits

Author SHA1 Message Date
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
8a8b87c9ea Uodate SplitSource.php dependencies. 2024-01-11 22:35:46 +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
9e0bb80dcf Don't return common key prefix in SqliteKeyValue::get_by_prefix. 2024-01-05 15:11:49 +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
58ea5e22bc Add KeyValueSyncInterface::for_each. 2024-01-23 19:26:43 +03:00