From bf369f5c558c57afbc73cc89ce5cb1cd488377c1 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Mon, 1 Nov 2021 17:24:42 +0700 Subject: [PATCH] change button --- program/callback.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/program/callback.py b/program/callback.py index 19f2db5..e48ac0d 100644 --- a/program/callback.py +++ b/program/callback.py @@ -168,16 +168,15 @@ async def cbmenu(_, query: CallbackQuery): if not a.can_manage_voice_chats: return await query.answer("💡 only admin with manage voice chats permission that can tap this button !") await query.edit_message_text( - "⚙️ **opened control menu panel**", + f"⚙️ **settings of** {query.message.chat.title}\n\n**⏸ pause || ▶️ resume**\n**🔇 mute || 🔊 unmute**\n**⏹ stop stream**", reply_markup=InlineKeyboardMarkup( [[ - InlineKeyboardButton("⏸ pause", callback_data="cbpause"), - InlineKeyboardButton("▶️ resume", callback_data="cbresume"), + InlineKeyboardButton("⏹", callback_data="cbstop"), + InlineKeyboardButton("⏸", callback_data="cbpause"), + InlineKeyboardButton("▶️", callback_data="cbresume"), ],[ - InlineKeyboardButton("🔇 mute", callback_data="cbmute"), - InlineKeyboardButton("🔊 unmute", callback_data="cbunmute"), - ],[ - InlineKeyboardButton("⏹ stop stream", callback_data="cbstop"), + InlineKeyboardButton("🔇", callback_data="cbmute"), + InlineKeyboardButton("🔊", callback_data="cbunmute"), ],[ InlineKeyboardButton("🗑 Close", callback_data="cls")], ]