Signed-off-by: wulan17 <wulan17@nusantararom.org>
Co-authored-by: wulan17 <wulan17@nusantararom.org>
Pyrofork: Use session name as database name, add some parameters informations and some cleanup (#3)
Changes to be committed:
modified: pyrogram/client.py
modified: pyrogram/storage/mongo_storage.py
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: storage: mongo: Use existing database connection
support both async_pymongo and motor
Signed-off-by: wulan17 <wulan17@nusantararom.org>
PyroFork: Use Dummy client object to check wether connection object is valid or not
Signed-off-by: wulan17 <wulan17@nusantararom.org>