Commit Graph

137 Commits

Author SHA1 Message Date
levlam
5a29dcd337 Avoid redundant usages of Status::error(). 2022-10-09 14:15:54 +03:00
levlam
ba547561bb Support resending of email authentication code. 2022-09-07 19:42:21 +03:00
levlam
cc8ef1a077 Add td_api::resendLoginEmailAddressCode. 2022-09-07 14:39:33 +03:00
levlam
886a6125e9 Add class EmailVerification. 2022-09-06 23:29:57 +03:00
levlam
8f16191182 Add authorizationStateWaitEmailCode.next_phone_number_authorization_date. 2022-09-06 18:15:43 +03:00
levlam
cba73d5bba Support login with email verification. 2022-09-06 17:42:19 +03:00
levlam
3a84a9c226 Add td_api::checkAuthenticationEmailCode. 2022-09-06 17:17:39 +03:00
levlam
5e4a8ea664 Add authorizationStateWaitEmailCode. 2022-09-06 16:08:10 +03:00
levlam
45484ce53b Add td_api::setAuthenticationEmailAddress. 2022-09-06 14:04:39 +03:00
levlam
6ac839576c Add authorizationStateWaitEmailAddress. 2022-09-06 12:31:54 +03:00
levlam
077eba4ca2 Send auth.logOut even there is no authorization. 2022-08-30 14:32:12 +03:00
levlam
bb2034ae36 Update layer to 145. 2022-08-08 23:00:06 +03:00
levlam
04b98aa385 Use OptionManager directly if possible. 2022-08-18 17:00:18 +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
6817f3fc44 Allow to specify password in deleteAccount. 2022-07-01 21:25:34 +03:00
levlam
e38615b71e Update layer to 144. 2022-07-01 14:33:59 +03:00
levlam
32bac7bd24 Move Promise to tdutils. 2022-06-27 13:30:18 +03:00
levlam
f62632fcbc Remove rarely used PromiseCreator::lambda with 2 lambdas. 2022-06-26 17:11:27 +03:00
levlam
21d8ba2f41 Ignore authorization loss errors while logging out. 2022-06-20 17:43:08 +03:00
levlam
bfcf52f87c Support MTPROTO_CLUSTER_INVALID error. 2022-06-06 20:36:15 +03:00
Arseny Smirnov
449974d425 Double check authorization during start up 2022-05-02 19:34:01 +04:00
levlam
ec802b1b57 Add updateAttachMenuBots. 2022-03-25 16:00:06 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
93b3f64121 Pass parameter by value. 2021-12-15 20:30:25 +03:00
levlam
f5c65b83ee Add suggestedActionSetPassword. 2021-11-26 16:22:39 +03:00
levlam
30e4350689 Support authentication tokens. 2021-11-24 17:01:02 +03:00
levlam
6ace4fdf36 Update layer to 135. 2021-11-09 19:07:55 +03:00
levlam
1d3cf2c209 Fix continuation of auth key destroy after restart. 2021-12-01 16:16:18 +03:00
levlam
60907279fd Add missing checks for close_flag in Timeout callbacks. 2021-11-13 22:37:41 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
00a349656d Unify td/telegram/include order. 2021-10-27 17:32:09 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
5091aa68e3 Allow direct access to TopDialogManager. 2021-09-24 23:17:38 +03:00
levlam
d6f3d9f08a Use error code 400 instead of small error codes. 2021-09-24 10:59:51 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
c5437ef918 Improve logging on loading authorization state. 2021-07-26 21:06:59 +03:00
levlam
709afe3f0c Add checkAuthenticationPasswordRecoveryCode. 2021-06-28 22:33:08 +03:00
levlam
1394d5d697 Support new_password in recoverAuthenticationPassword. 2021-06-28 21:36:54 +03:00
levlam
3c400f12b4 Support new_password in recoverPassword. 2021-06-28 19:47:23 +03:00
levlam
da2d81c81b Update layer to 131. 2021-06-28 15:55:11 +03:00
levlam
2b7b6b7759 Improve logging on log out. 2021-06-27 05:52:43 +03:00
levlam
4f644ce389 Add and use statis UserId::get_user_ids/get_input_user_ids methods. 2021-03-29 00:50:15 +03:00
levlam
0339921102 Improve some spelling. 2021-03-15 03:32:14 +03:00
levlam
dd80b0ef25 Add Td::set_is_bot_online function. 2021-03-02 04:06:02 +03:00
levlam
0acc29b1d2 Treat bots as always online. 2021-01-11 22:22:18 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
95feb7baa5 Disallow checkAuthenticationBotToken in Ready state.
GitOrigin-RevId: 74290424fabe07988d646ee17e831911ffcd1594
2020-09-25 01:11:17 +03:00
levlam
1fe397e43d Make optionValueInteger value int64.
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
2020-09-25 00:46:16 +03:00