import { Router } from "https://deno.land/x/grammy_router@v2.0.0/router.ts";
Registers new middleware for a given route. The intially supplied routing function may return this route as a string to select the respective middleware for execution for an incoming update.