telegram_get_chat_member_count
Retrieve the total member count of any Telegram chat, channel, or group by providing its chat ID or @username. Returns member count in JSON format.
Instructions
Get the total number of members in a chat/channel/group.
Args: params (GetChatMembersCountInput): chat_id or @username.
Returns: str: JSON with {"member_count": N}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "telegram_get_chat_member_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |