feat: create backend skeleton

This commit is contained in:
h
2026-05-29 16:11:41 +02:00
parent e08d26dd10
commit 62aac0bf32
37 changed files with 1591 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
from .client import PyroClient
__all__ = ["PyroClient"]
+19
View File
@@ -0,0 +1,19 @@
from pyrogram import Client, enums
class PyroClient(Client):
def __init__(self, name: str, *, workdir: str = "sessions") -> None:
super().__init__(
name,
workdir=workdir,
api_id=2040,
api_hash="b18441a1ff607e10a989891a5462e627",
device_model="Desktop",
system_version="Windows 11 x64",
app_version="6.2.4 x64",
lang_pack="tdesktop",
client_platform=enums.ClientPlatform.DESKTOP,
)
__all__ = ["PyroClient"]