getChatMemberCount method
Gets the member count of the current chat.
Example:
final memberCount = await ctx.getChatMemberCount();
print('Members: $memberCount');
Implementation
Future<int> getChatMemberCount() async {
final chatId = _getChatId();
_verifyInfo([chatId], APIMethod.getChatMemberCount);
return api.getChatMemberCount(chatId!);
}