From 90f74110a934b815ed562b2b1cbba92940f41748 Mon Sep 17 00:00:00 2001 From: Anatoly Bogomolov Date: Thu, 1 Feb 2024 19:09:22 +1000 Subject: [PATCH] Changed device --- paper/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):