as prop
This commit is contained in:
@ -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):
|
||||
|
||||
Reference in New Issue
Block a user