import { Context } from "https://dotland.deno.dev/x/grammy@v1.31.3/context.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
.
Type Parameters
T extends Chat["type"]