From 62c0f32b75edee88c70147f557cf1a97598f21e5 Mon Sep 17 00:00:00 2001 From: David Dzhalaev <72649244+DavidRomanovizc@users.noreply.github.com> Date: Mon, 28 Aug 2023 14:49:50 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Change=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keyboards/inline/questionnaires_inline.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/keyboards/inline/questionnaires_inline.py b/keyboards/inline/questionnaires_inline.py index ec829b91..7ee900f8 100644 --- a/keyboards/inline/questionnaires_inline.py +++ b/keyboards/inline/questionnaires_inline.py @@ -27,7 +27,7 @@ async def questionnaires_keyboard( callback_data=action_keyboard.new(action="report", target_id=target_id), ) go_back = InlineKeyboardButton( - text=_("⏪️ Остановить"), + text=_("💤 Остановить"), callback_data=action_keyboard.new(action="stopped", target_id=target_id), ) ban = InlineKeyboardButton( @@ -81,11 +81,15 @@ async def user_link_keyboard(telegram_id: int) -> InlineKeyboardMarkup: open_chat = InlineKeyboardButton( text=_("👉 Перейти в чат"), url=f"tg://user?id={telegram_id}" ) + report = InlineKeyboardButton( + text="🔞 Пожаловаться", + callback_data=action_keyboard.new(action="report", target_id=telegram_id), + ) back = InlineKeyboardButton( text=_("⏪️ Вернуться к просмотру анкет"), callback_data="go_back_to_viewing_ques", ) - markup.add(open_chat, back) + markup.add(open_chat, report, back) return markup