Commit Graph

1067 Commits

Author SHA1 Message Date
levlam
5a29dcd337 Avoid redundant usages of Status::error(). 2022-10-09 14:15:54 +03:00
levlam
b83c04be60 Don't send fake optionValueEmpty while logging out. 2022-10-06 17:59:19 +03:00
levlam
aa6ed42734 Add class CustomEmojiId. 2022-10-03 01:26:32 +03:00
levlam
f88993e45f Improve getFile response. 2022-10-02 23:19:41 +03:00
levlam
39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +03:00
levlam
da886281f4 Improve logging. 2022-10-01 01:28:54 +03:00
levlam
1f7258f697 Add getChatMessagePosition. 2022-09-30 20:04:21 +03:00
levlam
e39bd45086 Support search by keywords in getStickers. 2022-09-27 20:52:47 +03:00
levlam
30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam
f85b79d9bc Add td_api::clearRecentReactions. 2022-09-12 19:37:45 +03:00
levlam
de1ed3275f Add td_api::getCustomEmojiReactionAnimations. 2022-09-12 15:44:37 +03:00
levlam
a33eb5233c Add td_api::getEmojiReaction. 2022-09-12 15:03:35 +03:00
levlam
6b2f6b4204 Split setMessageReaction to addMessageReaction and removeMessageReaction. 2022-09-09 15:56:45 +03:00
levlam
148f1bf794 Update get_message_available_reactions. 2022-09-08 20:04:32 +03:00
levlam
c6d5bbb151 Remove class AvailableReaction. 2022-09-08 17:45:19 +03:00
levlam
d4d746f02a Pass database_encryption_key through a local variable. 2022-09-07 22:31:26 +03:00
levlam
f6a2ecdded Inline tdlibParameters in setTdlibParameters. 2022-09-07 22:19:08 +03:00
levlam
ebb6770935 Combine TdDb::check_parameters and TdDb::open. 2022-09-07 21:50:41 +03:00
levlam
c47da24430 Remove unused is_database_encrypted. 2022-09-07 21:32:40 +03:00
levlam
287cceb162 Remove separate authorizationStateWaitEncryptionKey. 2022-09-07 21:27:23 +03:00
levlam
1b7f24459f Add td_api::checkLoginEmailAddressCode. 2022-09-07 15:18:43 +03:00
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