method Bot.prototype.onRe-exportimport { Bot } from "https://deno.land/x/grammy@v1.31.1/mod.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>>