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