getChatMemberCount

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

Parameter
Type
Required
Description

chat_id

Integer or String

Yes

Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)