From a0f4ef93894dbeacc89eedebe30008070acea183 Mon Sep 17 00:00:00 2001 From: Anatoly Bogomolov Date: Wed, 31 Jan 2024 20:59:01 +1000 Subject: [PATCH] changed device type --- paper/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper/client.py b/paper/client.py index 3ba49af..b022e9c 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.TelegramAndroid.Generate("paper") + api = API.TelegramDesktop.Generate("linux", "paper") super().__init__(session, api) async def invite_self(self, group: Entity | EntityLike):