changed device type
This commit is contained in:
parent
f272323480
commit
a0f4ef9389
|
@ -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.TelegramAndroid.Generate("paper")
|
api = API.TelegramDesktop.Generate("linux", "paper")
|
||||||
super().__init__(session, api)
|
super().__init__(session, api)
|
||||||
|
|
||||||
async def invite_self(self, group: Entity | EntityLike):
|
async def invite_self(self, group: Entity | EntityLike):
|
||||||
|
|
Loading…
Reference in New Issue