Commit Graph

33 Commits

Author SHA1 Message Date
levlam
495e578a81 Add td_api::reportPhoneNumberCodeMissing. 2024-04-22 18:50:16 +03:00
levlam
3620b06df2 Add td_api::sendPhoneNumberFirebaseSms. 2024-04-13 20:42:41 +03:00
levlam
25958fb406 Combine phone number verification methods into a single API method. 2024-04-13 20:25:05 +03:00
levlam
99d8de1e88 Rewrite PhoneNumberManager as regular manager. 2024-04-13 19:10:52 +03:00
levlam
5bf1142506 Remove PhoneNumberManager::get_state. 2024-04-13 02:05:43 +03:00
levlam
03a624903e Move relevant functions to UserManager. 2024-04-02 03:52:34 +03:00
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
049d84beed Always call fetch_result on the whole NetQueryPtr. 2023-09-02 22:39:26 +03:00
levlam
ce2e7192d7 Improve NetQueryPtr variable names. 2023-09-02 22:20:05 +03:00
levlam
1f38e4d49f Make AuthManager::on_current_query_error safer. 2023-09-02 22:11:01 +03:00
levlam
b90bc7be4b Remove unsafe non-const NetQuery accessors. 2023-08-30 18:25:26 +03:00
levlam
2702d19dc4 Remove is_me from on_get_user. 2023-06-23 18:22:58 +03:00
levlam
050a11ece7 Update layer to 152. 2023-01-06 12:42:16 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
ce9175a00b Always use "must be non-empty". 2022-09-10 22:48:34 +03:00
levlam
20767a318b Check for new code types in other phone number verifications. 2022-09-07 21:22:21 +03:00
levlam
1995cbe6bc Simplify getSupportUser implementation. 2022-05-14 18:29:34 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
f4d20e20ac Improve parameter names. 2021-10-29 15:38:39 +03:00
levlam
1ebf835ac5 Fix process_check_code_result. 2021-10-20 10:46:01 +03:00
levlam
d6f3d9f08a Use error code 400 instead of small error codes. 2021-09-24 10:59:51 +03:00
levlam
c4dab736c9 Add suggestedActionCheckPhoneNumber support. 2021-06-11 02:13:46 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
62863e9280 Minor fixes.
GitOrigin-RevId: e7b9ea9cb76d5c65c00a5ca86c85c6c8984e1d3c
2020-03-16 22:00:44 +03:00
levlam
d06a786a16 Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
2020-03-16 01:01:14 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
8d01251f8b Add NetQueryCreator::create_unauth.
GitOrigin-RevId: 79043a3662b0353f000f388b3ee2763abf49fe2d
2020-03-15 04:51:14 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
eeaed834d1 Simplify send_*_phone_code.
GitOrigin-RevId: 72b09f64fab527c8a2363bae72e0e40770f64a83
2019-09-02 18:16:34 +03:00
levlam
ebf9f45eeb Really fix Verify and Confirm for phone number.
GitOrigin-RevId: 1f859c039bdf5a554efa4d328848fafa36c659d4
2019-09-02 18:11:47 +03:00
levlam
68b2d10fdb Add td_api::phoneNumberAuthenticationSettings and support automatic code retrival from SMS on Android.
GitOrigin-RevId: f97bd5bf3eb7449da1b14242fa47537801657b04
2019-05-03 05:44:59 +03:00
levlam
0d1be06cae Minor fixes.
GitOrigin-RevId: 252036493c4c9e94367ef13246bde96b2f89415a
2019-02-17 16:52:34 +03:00
levlam
5d1f93c1c5 Add PhoneNumberManager.h.
GitOrigin-RevId: 7823601e61375efd9e7166add8028d3f5ee6ad1f
2019-02-16 19:01:47 +03:00