We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae258b1 commit d7778a3Copy full SHA for d7778a3
1 file changed
pyrogram/client.py
@@ -1527,12 +1527,6 @@ async def set_dc(
1527
def server_time(self) -> float:
1528
return self._last_sync_time + (time.monotonic() - self._last_monotonic)
1529
1530
- @property
1531
- def uptime(self) -> int:
1532
- if not self._is_server_time_synced:
1533
- return 0
1534
- return int(time.monotonic() - self._last_monotonic)
1535
-
1536
def _set_server_time(self, msg_id: int):
1537
if self._is_server_time_synced:
1538
return
0 commit comments