Very Popular
Go to Latest
method Context.prototype.getChatMemberCount
import { Context } from "https://dotland.deno.dev/x/grammy@v1.15.0/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