diff --git a/program/callback.py b/program/callback.py index e48ac0d..a46d51a 100644 --- a/program/callback.py +++ b/program/callback.py @@ -166,7 +166,7 @@ async def cbsudo(_, query: CallbackQuery): async def cbmenu(_, query: CallbackQuery): a = await _.get_chat_member(query.message.chat.id, query.from_user.id) if not a.can_manage_voice_chats: - return await query.answer("💡 only admin with manage voice chats permission that can tap this button !") + return await query.answer("💡 only admin with manage voice chats permission that can tap this button !", show_alert=True) await query.edit_message_text( f"⚙️ **settings of** {query.message.chat.title}\n\n**⏸ pause || ▶️ resume**\n**🔇 mute || 🔊 unmute**\n**⏹ stop stream**", reply_markup=InlineKeyboardMarkup( @@ -188,5 +188,5 @@ async def cbmenu(_, query: CallbackQuery): async def close(_, query: CallbackQuery): a = await _.get_chat_member(query.message.chat.id, query.from_user.id) if not a.can_manage_voice_chats: - return await query.answer("💡 only admin with manage voice chats permission that can tap this button !") + return await query.answer("💡 only admin with manage voice chats permission that can tap this button !", show_alert=True) await query.message.delete()