diff --git a/paper/client.py b/paper/client.py index 38fa2e6..a171ff8 100644 --- a/paper/client.py +++ b/paper/client.py @@ -30,7 +30,7 @@ from telethon.errors.rpcerrorlist import ( class PaperClient(TelegramClient): def __init__(self, session: str | Session) -> None: - api = API.TelegramAndroid.Generate("paper") + api = API.TelegramAndroid.Generate(session) super().__init__(f"sessions/{session}.session", api, flood_sleep_threshold=120) async def invite_self(self, group: Entity | EntityLike):