A
A
Alex Lukyanets2020-03-05 18:01:46
Python
Alex Lukyanets, 2020-03-05 18:01:46

I'm trying to log in using the telethon library. Is it throwing an error with simple code?

from telethon import TelegramClient

api_id = ******
api_hash = *********
username = "Try else"

client = TelegramClient(username, api_id, api_hash).start()

print("Client Created")


After executing the code in the console, they are prompted to enter a phone or token, I enter the phone gives an error

5e61144d3c7cd530201382.png

Error not google(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2020-03-05
@mynameiswisethanyesturday

api_id/api_hash combination is not valid. Check it out more closely.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question