Currently, all peer data are stored in the memory. Hence it is cleared in every restart. So better to save them in the database and fetch them when needed. With that, we can reduce PeerIdInvalid errors and increase user happiness :)
https://github.com/pyrogram/pyrogram/blob/master/pyrogram/storage/storage.py
Currently, all peer data are stored in the memory. Hence it is cleared in every restart. So better to save them in the database and fetch them when needed. With that, we can reduce
PeerIdInvaliderrors and increase user happiness :)https://github.com/pyrogram/pyrogram/blob/master/pyrogram/storage/storage.py