feat: create backend skeleton
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from .client import PyroClient
|
||||
|
||||
__all__ = ["PyroClient"]
|
||||
@@ -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"]
|
||||
Reference in New Issue
Block a user