Commit Graph

1095 Commits

Author SHA1 Message Date
Andrea Cavalli eadb920736 Merge remote-tracking branch 'td/master' 2022-08-06 22:08:15 +02:00
levlam 3afbce24b3 Disable getStorageStatisticsFast for bots to reduce disk usage in the main thread. 2022-07-23 23:50:28 +03:00
levlam 061aac58db Make DownloadManager interface mostly asynchronous. 2022-07-23 16:41:03 +03:00
Andrea Cavalli cd4a07a7c7 Merge remote-tracking branch 'td/master' 2022-07-22 13:09:22 +02:00
levlam 6898d07793 Make td_api::saveApplicationLogEvent persistent. 2022-07-18 19:21:47 +03:00
levlam e44418f2b3 Add and use everywhere OptionsManager::get_synchronous_options(). 2022-07-11 15:36:29 +03:00
levlam ee7011538a Use OptionManager::get_option_synchronously internally. 2022-07-11 14:01:56 +03:00
levlam 17a548292b Allow to get synchronously options "version" and "commit_hash". 2022-07-11 13:33:56 +03:00
levlam 61f7da7215 Add option "commit_hash". 2022-07-11 12:57:42 +03:00
levlam 4300c64a30 Add Td::get_version_option_value_object(). 2022-07-11 12:47:23 +03:00
levlam 20fa839dfe Crash on "Lost promise" errors. 2022-07-08 11:22:13 +03:00
Andrea Cavalli 377050ced3 Merge remote-tracking branch 'td/master' 2022-06-29 23:33:12 +02:00
levlam 32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam e0605b2013 Add td_api::assignAppStoreTransaction. 2022-06-24 18:14:00 +03:00
levlam 2144d8fcd0 Add td_api::assignGooglePlayTransaction. 2022-06-24 17:27:03 +03:00
levlam 9e13745487 Add td_api::canPurchasePremium. 2022-06-24 17:07:10 +03:00
Andrea Cavalli a116cc9b19 Merge remote-tracking branch 'td/master' 2022-06-21 18:38:28 +02:00
levlam ee926f86a3 Move directory creation and database check to another thread. 2022-06-21 02:02:48 +03:00
levlam 1528cfb9da Add get_database_scheduler_id(). 2022-06-20 22:02:45 +03:00
levlam f1247493c5 Add class trendingStickerSets. 2022-06-17 19:16:17 +03:00
levlam 4afe67c18b Reuse get_gc_scheduler_id. 2022-06-15 20:32:42 +03:00
Andrea Cavalli 2bb228c967 Merge remote-tracking branch 'td/master' 2022-06-12 23:14:23 +02:00
levlam caf84b01b7 Fix database init. 2022-06-10 19:05:43 +03:00
levlam f95f76c4de Support asynchronous TdDb::open. 2022-06-10 16:44:53 +03:00
levlam 1b5798393d Move FloodControlGlobal to tdutils. 2022-06-09 17:12:59 +03:00
levlam a30ac1c277 Minor improvements. 2022-06-09 16:38:38 +03:00
Arseny Smirnov 7941672e79 add some kind of global limit for concurrent hanshakes 2022-06-09 11:10:38 +02:00
levlam cb98c0a10a Add class AvailableReaction. 2022-06-09 01:07:53 +03:00
levlam 2570044eba Return, whether available reaction needs premium. 2022-06-08 17:34:13 +03:00
levlam 444d083f48 Add td_api::getPremiumStickers. 2022-06-03 18:16:12 +03:00
levlam 1e417ea212 Minor fixes. 2022-06-02 16:19:16 +03:00
levlam 7092674c05 Add td_api::getPremiumState. 2022-06-01 15:14:09 +03:00
levlam 677c5795a3 Cancel speech recognition by timeout. 2022-05-27 19:07:37 +03:00
levlam b56b778660 Add rateSpeechRecognition. 2022-05-26 20:40:43 +03:00
Andrea Cavalli 1b0b3829aa Merge remote-tracking branch 'td/master' 2022-05-25 22:12:16 +02:00
levlam 151654eeea Add td_api::recognizeSpeech 2022-05-25 21:18:40 +03:00
levlam f443cec9bc Add clickPremiumSubscriptionButton. 2022-05-25 15:34:36 +03:00
levlam 242776e817 Add td_api::viewPremiumFeature. 2022-05-24 20:45:03 +03:00
levlam 7c7aa3d2de Save app log event in getPremiumFeatures. 2022-05-24 15:42:46 +03:00
levlam 80f3c88bdb Move get_invite_text and save_app_log to Application.cpp. 2022-05-24 14:56:02 +03:00
levlam 49b13c737f Add td_api::getPremiumLimit. 2022-05-24 02:55:03 +03:00
levlam 2d90ccc1bc Allow to specify source in getPremiumFeatures. 2022-05-24 02:19:30 +03:00
levlam ab4a5d7499 Move get_premium_features to Premium.h. 2022-05-24 01:36:55 +03:00
levlam 2166f80ccb Add td_api::getPremiumFeatures. 2022-05-23 15:56:31 +03:00
levlam e9a8d43a0a Add td_api::getAllAnimatedEmojis. 2022-05-23 14:05:35 +03:00
levlam 2f186a9eeb Allow to change position of main chat list for premium users. 2022-05-19 21:19:06 +03:00
Andrea Cavalli a156fcfb1d Merge remote-tracking branch 'td/master' 2022-05-16 00:00:04 +02:00
levlam 70050704d2 Remove unimplemented UploadCallback::on_progress. 2022-05-15 01:13:07 +03:00
levlam c17520fdbc Implement getSupportUser with request promise instead of RequestActor. 2022-05-14 18:54:21 +03:00
levlam 0909f88bc3 Use int53 for file size in TDLib API. 2022-05-11 17:17:20 +03:00