diff --git a/main.py b/main.py index c1b6535..3608772 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ async def start(): async with ClientSession() as session: offset = 0 # init offset while True: - response = await telegram_api("getUpdates", offset=offset, allowed_updates=['message', 'message_reaction']) + response = await telegram_api("getUpdates", offset=offset, allowed_updates=['message', 'message_reaction', 'chat_join_request']) # logger.debug(response) if isinstance(response, dict): result = response.get("result", [])