From e02a14f3611af5a0cb150638ece3cd9494071687 Mon Sep 17 00:00:00 2001 From: levina <82658782+levina-lab@users.noreply.github.com> Date: Wed, 19 Jan 2022 22:07:12 +0700 Subject: [PATCH] something --- program/admins.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/program/admins.py b/program/admins.py index fd71dc3..c105a9a 100644 --- a/program/admins.py +++ b/program/admins.py @@ -199,6 +199,7 @@ async def cbpause(_, query: CallbackQuery): if chat_id in QUEUE: try: await call_py.pause_stream(chat_id) + await query.answer("streaming paused") await query.edit_message_text( "⏸ the streaming has paused", reply_markup=back_mark ) @@ -217,6 +218,7 @@ async def cbresume(_, query: CallbackQuery): if chat_id in QUEUE: try: await call_py.resume_stream(chat_id) + await query.answer("streaming resumed") await query.edit_message_text( "▶️ the streaming has resumed", reply_markup=back_mark ) @@ -252,6 +254,7 @@ async def cbmute(_, query: CallbackQuery): if chat_id in QUEUE: try: await call_py.mute_stream(chat_id) + await query.answer("streaming muted") await query.edit_message_text( "🔇 userbot succesfully muted", reply_markup=back_mark ) @@ -270,6 +273,7 @@ async def cbunmute(_, query: CallbackQuery): if chat_id in QUEUE: try: await call_py.unmute_stream(chat_id) + await query.answer("streaming unmuted") await query.edit_message_text( "🔊 userbot succesfully unmuted", reply_markup=back_mark )