method Bot.prototype.onRe-exportimport { Bot } from "https://deno.land/x/grammy_menu@v1.3.0/deps.deno.ts"; on<Q extends FilterQuery>(filter: Q | Q[], ...middleware: Array<Middleware<Filter<C, Q>>>): Composer<Filter<C, Q>>Type ParametersQ extends FilterQueryParametersfilter: Q | Q[]...middleware: Array<Middleware<Filter<C, Q>>>ReturnsComposer<Filter<C, Q>>