dp.message_handler(commands=['start'])
async def staart(message: types.Message):
inline = InlineKeyboardMarkup(row_width=2)
q = InlineKeyboardButton(text='Bat1',
url='url')
w = InlineKeyboardButton(text='Bat2',
url='url1')
inline.add(q, w)
await bot.send_message(chat_id=message.chat.id, text='Helow World',
reply_markup=inline)
@
перед декоратором@dp.message_handler(commands='start')
async def start(message: types.Message):
inline = InlineKeyboardMarkup(row_width=2)
inline.row(InlineKeyboardButton(text='Url Button 1',
url='https://t.me/username'),
InlineKeyboardButton(text='Url Button 2',
url='https://toster.ru'))
await message.answer('Helo, World', reply_markup=inline)