@dp.message_handler(Text(equals='Погода на этот день'))
async def weather_bot_today_Sr(message: types.Message):
await message.reply('Выберите населённый пункт:', reply_markup= btn.todayKeyboard, btn.backemenuKeyboard)
@dp.callback_query_handler(func=lambda c: c.data and c.data.startswith('back'))
async def process_callback_back(callback_query: types.CallbackQuery):
await bot.answer_callback_query(callback_query.id)
from aiogram.types import ReplyKeyboardMarkup, KeyboardButton
return_button = KeyboardButton('Назад'), ['/start']
# Main
btnToday = KeyboardButton('Погода на этот день')
btnTomorrow = KeyboardButton('Погода на завтрашний день')
mainKeyboard = ReplyKeyboardMarkup(resize_keyboard = True).add(btnToday, btnTomorrow, return_button)
# Today
btnTodaySrt = KeyboardButton('Саратов')
btnTodayStp = KeyboardButton('Степное')
todayKeyboard = ReplyKeyboardMarkup(resize_keyboard = True).add(btnTodaySrt, btnTodayStp, return_button)
# Tomorrow
btnTomorrowSrt = KeyboardButton('Саратов')
btnTomorrowStp = KeyboardButton('Степное')
tomorrowKeyboard = ReplyKeyboardMarkup(resize_keyboard = True).add(btnTomorrowSrt, btnTomorrowStp, return_button)