more nice menu

This commit is contained in:
mihalin 2022-09-02 04:09:28 +04:00
parent 6789d23c28
commit 6e2ee437ba

View File

@ -151,7 +151,7 @@ async def send_bot_delete_menu(bot: Bot, call: types.CallbackQuery):
async def send_bot_settings_menu(bot: Bot, call: types.CallbackQuery): async def send_bot_settings_menu(bot: Bot, call: types.CallbackQuery):
await call.answer() await call.answer()
keyboard = types.InlineKeyboardMarkup(row_width=1) keyboard = types.InlineKeyboardMarkup(row_width=2)
keyboard.insert( keyboard.insert(
types.InlineKeyboardButton(text=_("Потоки сообщений"), types.InlineKeyboardButton(text=_("Потоки сообщений"),
callback_data=menu_callback.new(level=3, bot_id=bot.id, operation="threads", callback_data=menu_callback.new(level=3, bot_id=bot.id, operation="threads",