024-02-27 23:55:32.273 | INFO | __main__:<module>:35 - Запущен!
Traceback (most recent call last):
File "C:\Users\dadag\OneDrive\Desktop\pytohn\TGSpam\main.py", line 36, in <module>
app.run()
File "C:\Users\dadag\OneDrive\Desktop\pytohn\TGSpam\.venv\lib\site-packages\pyrogram\methods\utilities\run.py", line 84, in run
self.start()
File "C:\Users\dadag\OneDrive\Desktop\pytohn\TGSpam\.venv\lib\site-packages\pyrogram\sync.py", line 66, in async_to_sync_wrap
return loop.run_until_complete(coroutine)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python39_64\lib\asyncio\base_events.py", line 647, in run_until_complete
return future.result()
File "C:\Users\dadag\OneDrive\Desktop\pytohn\TGSpam\.venv\lib\site-packages\pyrogram\methods\utilities\start.py", line 58, in start
is_authorized = await self.connect()
File "C:\Users\dadag\OneDrive\Desktop\pytohn\TGSpam\.venv\lib\site-packages\pyrogram\methods\auth\connect.py", line 47, in connect
await self.session.start()
File "C:\Users\dadag\OneDrive\Desktop\pytohn\TGSpam\.venv\lib\site-packages\pyrogram\session\session.py", line 142, in start
raise e
File "C:\Users\dadag\OneDrive\Desktop\pytohn\TGSpam\.venv\lib\site-packages\pyrogram\session\session.py", line 109, in start
await self.send(raw.functions.Ping(ping_id=0), timeout=self.START_TIMEOUT)
File "C:\Users\dadag\OneDrive\Desktop\pytohn\TGSpam\.venv\lib\site-packages\pyrogram\session\session.py", line 333, in send
raise BadMsgNotification(result.error_code)
pyrogram.errors.BadMsgNotification: [16] The msg_id is too low, the client time has to be synchronized.
Process finished with exit code 1