Fast LSM-based (RocksDB) remote storage for pyrogram sessions
pyrogram_rockserver_storage | ||
.gitignore | ||
main.py | ||
migrate.py | ||
README.md | ||
requirements.txt | ||
setup.py |
Pyrogram RockServer storage
Usage
from pyrogram import Client
from pyrogram_rockserver_storage import RockServerStorage
session = RockServerStorage(hostname=..., port=..., session_unique_name=..., save_user_peers=...)
pyrogram = Client(session)
await pyrogram.connect()