know its api_id and api_hash?
from telethon import TelegramClient api_id = 0 api_hash = 'a' client = TelegramClient('session', api_id, api_hash) client.start() async def main(): me = await client.get_me() print(me.id) client.loop.run_until_complete(main())
But I have the same code
Обсуждают сегодня