from aiogram import Bot, types, Dispatcher, executor
from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton
from aiogram.types.web_app_info import WebAppInfo
TOKEN = "Токен бота"
bot = Bot(token=TOKEN)
dp = Dispatcher(bot=bot)
@dp.message_handler(commands=['start'])
async def startup(message: types.Message):
await message.answer("test", reply_markup=InlineKeyboardMarkup().add(
InlineKeyboardButton(text="test", web_app=WebAppInfo("https://youtube.com/"))))
if __name__ == "__main__":
executor.start_polling(dp, skip_updates=True)