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

i cant received my code in the other app #4008

Closed
cxapython opened this issue Dec 22, 2022 · 2 comments
Closed

i cant received my code in the other app #4008

cxapython opened this issue Dec 22, 2022 · 2 comments

Comments

@cxapython
Copy link

cxapython commented Dec 22, 2022

Code that causes the issue

from telethon import TelegramClient, events, sync

# These example values won't work. You must get your own api_id and
# api_hash from https://my.telegram.org, under API Development.
api_id = xxx
api_hash =xxx

client = TelegramClient('session_name', api_id, api_hash)
client.start()

Please enter your phone (or bot token): +861881066xxxx

I can receive the code when I use the app to log in, but I can’t receive the code when I use the telethon to send it. I changed two mobile phone numbers and tested it. There is no error message during

@cxapython cxapython changed the title i cant i cant received my code in the other app Dec 22, 2022
@Lonami
Copy link
Member

Lonami commented Dec 22, 2022

This is likely a duplicate of #3835.

@Lonami Lonami closed this as completed Dec 22, 2022
@Lllliubo
Copy link

这可能是#3835的副本。

What happened? I tried many times today and couldn't get the code

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

3 participants