from email.message import Message
from aiogram import types, executor, Dispatcher, Bot
from aiogram.types import InlineKeyboardButton, InlineKeyboardMarkup
TOKEN=("")
bot=Bot(token=TOKEN)
dp = Dispatcher(bot)
@dp.message_handler(commands=['start'])
async def welcometxt(message: types.Message):
markup=InlineKeyboardMarkup()
but_1=InlineKeyboardButton('Как дела?', callback_data="but_1")
markup.add(but_1)
await bot.send_message(message.chat.id, "Привет!", reply_markup=markup)
@dp.message_handler(content_types=['text'])
async def welcometxt1(message: types.Message):
if message.text.lower() == 'привет':
await message.reply("Еще раз привет")