Very Popular
Go to Latest
method Context.prototype.getChatMemberCount
import { Context } from "https://dotland.deno.dev/x/grammy@v1.20.2/context.ts";

Context-aware alias for api.getChatMemberCount. Use this method to get the number of members in a chat. Returns Int on success.

Parameters

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#getchatmembercount