import { Context } from "https://deno.land/x/grammy_parse_mode@1.9.0/deps.deno.ts";
Returns true
if this context object belongs to a chat with the given
chat type, and false
otherwise. This uses the same logic as
bot.chatType
.
x/grammy_parse_mode/deps.deno.ts>Context#hasChatType
import { Context } from "https://deno.land/x/grammy_parse_mode@1.9.0/deps.deno.ts";
Returns true
if this context object belongs to a chat with the given
chat type, and false
otherwise. This uses the same logic as
bot.chatType
.