peyk.platforms.telegram.methods.get_chat_member_count

async peyk.platforms.telegram.methods.get_chat_member_count(self, chat_id: int | str) int[source]

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

Parameters:

chat_id – Unique identifier for the target chat or username of the target supergroup or channel in the format @username

Returns:

Result returned by Telegram on successful execution.

Return type:

int