Any code that processes updates from Bot API will eventually _match on update_ to choose an appropriate action. - aiogram provides [Router](https://docs.aiogram.dev/en/v3.24.0/dispatcher/router.html) - grammY has more flexible [Middleware](https://grammy.dev/guide/middleware) We should provide a similar functionality.