diff --git a/main.py b/main.py index 37f5991..ad12870 100644 --- a/main.py +++ b/main.py @@ -76,6 +76,7 @@ async def process_start_command(message: types.Message): ])) await message.delete() +#new code @dp.callback_query_handler(lambda c: c.data == 'wheremenu') async def where_menu(call: types.CallbackQuery): await call.bot.send_photo(call.message.chat.id, photo=InputFile('templates/menu.jpg'), caption='Кнопка меню находится рядом')