join-req-fix

This commit is contained in:
Untone 2024-09-26 14:49:54 +03:00
parent 28a10283cb
commit 4951d4edff

View File

@ -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", [])