Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello, I want to know how to use email verification code when logging in telegramx, where is this function? How long have I been debugging it? Could you let me know, thank you? #3137

Open
imlifeilong opened this issue Nov 13, 2024 · 7 comments

Comments

@imlifeilong
Copy link

Hello, I want to know how to use email verification code when logging in telegramx, where is this function? How long have I been debugging it? Could you let me know, thank you?

@levlam
Copy link
Contributor

levlam commented Nov 13, 2024

What do you mean by Telegram X?

@imlifeilong
Copy link
Author

Telegram X is an Android app based on tdlib that allows you to log in using an email verification code,so I want to know how to use email verification code when logging in
1
2
3
4

@levlam
Copy link
Contributor

levlam commented Nov 13, 2024

Verification process is controlled by the server. You can't affect it and must enter the data it asks. Moreover, you can't have a Telegram account without verified phone number.

@imlifeilong
Copy link
Author

How to use tdlib for email authentication? I wrote it that way, but no
83FE468D-B5A1-4da3-BF01-11C7502814E8

@levlam
Copy link
Contributor

levlam commented Nov 13, 2024

You can't. You must process authorization states as they are documented.

@imlifeilong
Copy link
Author

Do you have a sample for reference?

@levlam
Copy link
Contributor

levlam commented Nov 14, 2024

Authorization process is described at https://core.telegram.org/tdlib/getting-started. It also links to multiple examples in different languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants