method Context.prototype.hasGameQueryimport { Context } from "https://dotland.deno.dev/x/grammy@v1.15.0/context.ts"; hasGameQuery(trigger: MaybeArray<string | RegExp>): this is GameQueryContextCoreReturns true if this context object contains the given game query, or if the contained game query matches the given regular expression. It returns false otherwise. This uses the same logic as bot.gameQuery. Parameterstrigger: MaybeArray<string | RegExp>The string or regex to match Returnsthis is GameQueryContextCore