@dp.inline_handler()
async def inline_start(query: types.InlineQuery):
text = 'test'
result_id: str = hashlib.md5(text.encode()).hexdigest()
await query.answer(results=[ types.InlineQueryResultVideo(
id=result_id,
video_url="https://www.youtube.com/watch?v=U5UQ4O-CIUY",
title="aaaaaa",
mime_type="video/mp4",
thumb_url="https://i.imgur.com/ANVm7Hf.png",
description="какое-то описание..."
)
]
)