From b7b90055a4232dc04318b734f36746557a65c179 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sun, 11 Aug 2024 13:07:11 -0400 Subject: [PATCH] fixed ability to send stickers and media after unmute --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 49eaeb2..d767366 100644 --- a/app/main.py +++ b/app/main.py @@ -43,7 +43,7 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE) -> elif update.effective_chat.type not in ('supergroup',): return - restricted_perms = {"can_send_messages": False} + restricted_perms = {"can_send_messages": False, "can_send_other_messages": False} # new user join the chat if update.message.new_chat_members: for user in update.message.new_chat_members: