method Bot.prototype.onimport { Bot } from "https://dotland.deno.dev/x/grammy@v1.20.2/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>>