Не могу понять, куда вставить номер?
from telethon import TelegramClient
api_hash = "xxxx"
api_id = xxx
client = TelegramClient("anon", api_id, api_hash)
async def main():
me = await client.get_me()
print(me.stringify())
username = me.username
print(username)
with client:
client.loop.run_until_complete(main())
отвечает мне мол "Please enter your phone (or bot token): "
Источник: Stack Overflow на русском