This commit is contained in:
2025-05-19 21:14:52 +03:00
parent e1c96bc045
commit 325a65a92e

View File

@ -116,7 +116,8 @@ class BaseThon(BaseData):
except asyncio.TimeoutError: except asyncio.TimeoutError:
return "ERROR_AUTH:CONNECTION_ERROR:TIMEOUT" return "ERROR_AUTH:CONNECTION_ERROR:TIMEOUT"
async def get_phone(self) -> str: @property
def phone(self) -> str:
if not self.me: if not self.me:
return "" return ""
if isinstance(self.me, User): if isinstance(self.me, User):