Commit Graph

1011 Commits

Author SHA1 Message Date
levlam
e7fa6741aa Support file reference repair for files of attachment menu bots. 2022-08-10 21:12:05 +03:00
levlam
12d852abc5 Check for close_flag as early as possible. 2022-08-10 13:57:41 +03:00
levlam
2865be8dd7 Store link to parent in FileReferenceManager. 2022-08-09 17:00:36 +03:00
levlam
594aa2ff6d Use request promise in setStickerSetThumbnail. 2022-08-08 17:31:27 +03:00
levlam
69b1cc7967 Use request promise in createNewStickerSet. 2022-08-08 17:24:01 +03:00
levlam
57de8b5b09 Use request promise in addStickerToSet. 2022-08-08 17:01:04 +03:00
levlam
e80e4304a4 Return stickers from installed sticker sets in getPremiumStickers. 2022-08-07 00:33:16 +03:00
levlam
1764cda9fa Automatically load installed sticker sets in StickersManager::get_stickers. 2022-08-06 23:39:54 +03:00
levlam
feafa4aacc Add chat_id to getStickers. 2022-08-05 14:06:06 +03:00
levlam
bca2a9c78e Add getPremiumStickers. 2022-08-01 19:21:08 +03:00
levlam
0f77d5c871 Use request promise in td_api::searchStickers. 2022-08-01 18:50:08 +03:00
levlam
235418521f Rename getPremiumStickers to getPremiumStickerExamples. 2022-08-01 15:42:02 +03:00
levlam
e96a1995a2 Load custom emoji from database, 2022-07-25 23:04:53 +03:00
levlam
40b5b586e6 Add sticker_type to getStickers. 2022-07-24 14:53:48 +03:00
levlam
a81740892d Add messageGiftedPremium.sticker. 2022-07-22 15:01:44 +03:00
levlam
b5468e4cac Move out StickerType from inputSticker. 2022-07-21 17:31:27 +03:00
levlam
771b6d3991 Add td_api::getCustomEmojiStickers. 2022-07-19 16:00:04 +03:00
levlam
8673d30109 Add gift support in assignGooglePlayTransaction. 2022-07-18 15:17:01 +03:00
levlam
2064034364 Rename uploadFile/cancelUploadFile for clarity. 2022-07-18 14:07:50 +03:00
levlam
4442293acf Support trending emoji sticker sets. 2022-07-17 22:39:22 +03:00
levlam
d506c4732a Add getPremiumGiftOptionSticker. 2022-07-15 16:15:59 +03:00
levlam
2c7493978b Remove unneeded td_api::getAllAnimatedEmojis. 2022-07-15 15:29:19 +03:00
levlam
a114133854 Add purpose to canPurchasePremium. 2022-07-15 14:09:37 +03:00
levlam
c34f5d063b Use StickerType instead of is_masks everywhere. 2022-07-14 16:17:19 +03:00
levlam
6817f3fc44 Allow to specify password in deleteAccount. 2022-07-01 21:25:34 +03:00
levlam
54c052adce Add td_api::StorePaymentPurpose. 2022-07-01 19:27:59 +03: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
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
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
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
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