Fast LSM-based (RocksDB) remote storage for pyrogram sessions
Go to file
2024-11-27 12:43:53 +01:00
pyrogram_rockserver_storage Add delete_data method 2024-11-27 12:43:53 +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 12:40:26 +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()