Why does the bot @DetachRoBot don't give the video of https://www.youtube.com/watch?v=YQHsXMglC9A
https://telegramplayground.github.io/pyrogram/topics/speedups.html#uvloop
for python 3.11+ uvloop should be used as:
import uvloop, asyncio
asyncio.set_event_loop(uvloop.new_event_loop())
and it's placement should be on top of your code's entry point or before importing any kind of pyrogram modules.
the .install() method is deprecated and now raises error on new versions of uvloop and python 3.13/14