Fast LSM-based (RocksDB) remote storage for pyrogram sessions
Go to file
Andrea Cavalli 0d4b983132 fix username
2024-11-26 11:12:48 +01:00
pyrogram_rockserver_storage fix username 2024-11-26 11:12:48 +01:00
.gitignore initial commit 2024-03-29 22:56:31 +01:00
main.py Add username and phone cache 2024-03-30 22:12:23 +01:00
migrate.py Add migrate.py 2024-07-29 22:55:55 +02:00
README.md initial commit 2024-03-29 22:56:31 +01:00
requirements.txt Update pyrogram 2024-11-26 01:27:47 +01:00
setup.py Include thrift in package 2024-03-30 15:15:29 +01:00

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()