Commit Graph

1096 Commits

Author SHA1 Message Date
levlam
cc8ef1a077 Add td_api::resendLoginEmailAddressCode. 2022-09-07 14:39:33 +03:00
levlam
c373d14777 Add td_api::setLoginEmailAddress. 2022-09-07 13:49:48 +03:00
levlam
14a9fda4ef Rename premiumStatus to emojiStatus. 2022-09-07 10:25:21 +03:00
levlam
886a6125e9 Add class EmailVerification. 2022-09-06 23:29:57 +03:00
levlam
3a84a9c226 Add td_api::checkAuthenticationEmailCode. 2022-09-06 17:17:39 +03:00
levlam
3ad9ecc3a8 Use Promise<SentEmailCode>. 2022-09-06 14:53:19 +03:00
levlam
45484ce53b Add td_api::setAuthenticationEmailAddress. 2022-09-06 14:04:39 +03:00
levlam
4fdac24cc5 Add setMessageReaction.update_recent_reactions. 2022-09-05 22:04:50 +03:00
levlam
2eba57276a Add td_api::getThemedPremiumStatuses. 2022-09-02 15:02:37 +03:00
levlam
df53830161 Add parameter setPremiumStatus.duration. 2022-09-01 22:04:33 +03:00
levlam
93d870bfc6 Add td_api::clearRecentPremiumStatuses. 2022-08-31 16:41:13 +03:00
levlam
c627f5987d Add getRecentPremiumStatuses. 2022-08-31 15:47:51 +03:00
levlam
31ec06a134 Add td_api::getDefaultPremiumStatuses. 2022-08-30 18:03:57 +03:00
levlam
c73fa3ed72 Add td_api::premiumStatus. 2022-08-30 16:48:26 +03:00
levlam
52b973af35 Add class EmojiStatus. 2022-08-30 16:02:25 +03:00
levlam
0b8e143056 Add class ChatAvailableReactions. 2022-08-30 11:45:27 +03:00
levlam
df238a7034 Allow to specify application name when opening Web App. 2022-08-25 23:15:53 +03:00
levlam
4e6046b9ec Treat all emoji reactions as non-premium. 2022-08-24 23:31:15 +03:00
levlam
43f91a9de5 Add td_api::reportMessageReactions. 2022-08-23 14:39:10 +03:00
levlam
d1cc119b9d Use invokeAfter for self-edit queries. 2022-08-22 22:12:00 +03:00
levlam
ef4f0989b1 Update default reaction from other apps. 2022-08-22 15:44:38 +03:00
levlam
2a2787b7ed Add td_api::setDefaultReactionType. 2022-08-16 23:08:36 +03:00
levlam
b14708f0f5 Support reactions with custom emoji. 2022-08-16 22:42:29 +03:00
levlam
02b42d7ee6 Add td_api::setPremiumBadge. 2022-08-09 15:49:47 +03:00
levlam
db5ad187d0 Add debug for "Lost promise" errors. 2022-08-18 21:32:36 +03:00
levlam
26bd2c71b3 Remove my_id from Global. 2022-08-18 20:21:40 +03:00
levlam
29b35f3698 Call on_option_updated only after Td is fully inited. 2022-08-18 19:12:15 +03:00
levlam
bece21cc38 Make OptionManager a plain class. 2022-08-18 18:52:59 +03:00
levlam
04b98aa385 Use OptionManager directly if possible. 2022-08-18 17:00:18 +03:00
levlam
149d505781 Move option-related functions to OptionManager. 2022-08-18 14:54:57 +03:00
levlam
4ba7bf4a92 Use send_closure for some request processing. 2022-08-18 13:29:51 +03:00
levlam
f9161dccc3 Remove "auth" internal option. 2022-08-17 20:01:03 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
bbac7baed0 Add setUserSupportInfo. 2022-08-15 16:58:28 +03:00
levlam
5af4fcc35e Add td_api::getUserSupportInfo. 2022-08-15 14:32:35 +03:00
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
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
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
levlam
0909f88bc3 Use int53 for file size in TDLib API. 2022-05-11 17:17:20 +03:00
levlam
1970f65f56 Add td_api::createInvoiceLink. 2022-05-06 16:37:11 +03:00
levlam
7166836c1a Add td_api::InputInvoice. 2022-05-03 18:50:29 +03:00
levlam
90287d65ed Add methods for toggling join_to_send_messages and join_by_request. 2022-04-29 18:25:29 +03:00
levlam
caf84b01b7 Fix database init. 2022-06-10 19:05:43 +03:00