problem - the database is locked when working with pyrogram, is this my mistake in the code or does everyone have this?
The cause of this error is most likely using the same session in multiple scripts (or having another older process using the same session file). To fix it you need to use one session file per script (or per client)
Обсуждают сегодня