Answer the question
In order to leave comments, you need to log in
Why is get_entity not working?
from telethon import TelegramClient
api_id = 00000000
api_hash = '666666666666666666666666666'
bot_token = '7777777777777777777777777777777777777777'
client = TelegramClient('session_name', api_id, api_hash)
client.start()
c = client.get_entity('name chanel')
sys:1: RuntimeWarning: coroutine 'UserMethods.get_entity' was never awaited
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question