Module

x/grammy/mod.ts>Context#getChatMemberCount

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