Skip to content

get_chat_member_count

Use this method to get the number of members in a chat.

Parameters

  • chat_id (int or str): Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)

Returns

int

Examples

  • Required Parameters
await bot.get_chat_member_count(
    chat_id=your_chat_id_here
)