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