method ApiMethods.getChatMemberCount
ApiMethods.getChatMemberCount(args: { chat_id: number | string; }): number

Use this method to get the number of members in a chat. Returns Int on success.

Parameters

args: { chat_id: number | string; }

Return Type

number

Usage

import { type ApiMethods } from "types";