MediaGroupMiddleware Middleware with media group processing for aiogram 3.x First, install aiogram: pip3 install aiogram Insert your bot token into the api_token variable Launch the bot using the command python3 main.py