diff --git a/basethon/base_thon.py b/basethon/base_thon.py index d969dab..face64a 100644 --- a/basethon/base_thon.py +++ b/basethon/base_thon.py @@ -116,7 +116,8 @@ class BaseThon(BaseData): except asyncio.TimeoutError: return "ERROR_AUTH:CONNECTION_ERROR:TIMEOUT" - async def get_phone(self) -> str: + @property + def phone(self) -> str: if not self.me: return "" if isinstance(self.me, User):