diff --git a/uniborg/telethon.py b/uniborg/telethon.py index 9c8a88c..672cbfb 100644 --- a/uniborg/telethon.py +++ b/uniborg/telethon.py @@ -40,7 +40,8 @@ class Uniborg(TelegramClient): async def _async_init(self): await self.start() - self.uid = telethon.utils.get_peer_id(await self.get_me()) + self.me = await self.get_me() + self.uid = telethon.utils.get_peer_id(self.me) def run(self): self._loop.run_forever()