method Context.prototype.hasCommandimport { Context } from "https://deno.land/x/grammy@v1.24.0/context.ts"; hasCommand<S extends string>(command: MaybeArray<StringWithSuggestions< | S | "start" | "help" | "settings">>): this is CommandContextCoreReturns true if this context object contains the given command, and false otherwise. This uses the same logic as bot.command. Type ParametersS extends stringParameterscommand: MaybeArray<StringWithSuggestions< | S | "start" | "help" | "settings">>The command to match Returnsthis is CommandContextCore