Compare commits

..

No commits in common. "0cb92510b8a1d182a8fee93c847d9a5db5729bb6" and "ac79aefa36d70b570a7fdcd2b758e2ffaa32f45d" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,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.TelegramAndroid.Generate("paper")
super().__init__(f"sessions/{session}.session", api, flood_sleep_threshold=120) super().__init__(f"sessions/{session}.session", api, flood_sleep_threshold=0)
async def invite_self(self, group: Entity | EntityLike): async def invite_self(self, group: Entity | EntityLike):
group = await self.__cast_to_entity(group) group = await self.__cast_to_entity(group)