Changed device

This commit is contained in:
Анатолий Богомолов 2024-02-01 19:09:22 +10:00
parent 1d7f87a7a0
commit 90f74110a9
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ from telethon.errors.rpcerrorlist import (
class PaperClient(TelegramClient): class PaperClient(TelegramClient):
def __init__(self, session: str | Session) -> None: 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) super().__init__(f"sessions/{session}.session", api)
async def invite_self(self, group: Entity | EntityLike): async def invite_self(self, group: Entity | EntityLike):