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

Not receiving a code #3964

Closed
abduselam1 opened this issue Oct 30, 2022 · 1 comment
Closed

Not receiving a code #3964

abduselam1 opened this issue Oct 30, 2022 · 1 comment

Comments

@abduselam1
Copy link

I tried to authenticate and after I put my phone number I didnt receive a code from telegram I have checked my phone, api id, api hash everything even I have created a new telegram account and an api again its not working
Checklist

  • [x ] The error is in the library's code, and not in my own.
  • [x ] I have searched for this issue before posting it and there isn't a duplicate.
  • [ x] I ran pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip and triggered the bug in the latest version.

Code that causes the issue

from telethon.sync import TelegramClient

with TelegramClient('anon', api_id, api_hash) as client:
    client.loop.run_until_complete(client.send_message('me', 'Hello, myself!'))
@Lonami
Copy link
Member

Lonami commented Oct 30, 2022

Duplicate of #3835.

@Lonami Lonami closed this as completed Oct 30, 2022
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