getChatMemberCount method

Future<int> getChatMemberCount(
  1. ChatID chatId
)
inherited

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

Returns int on success.

Implementation

Future<int> getChatMemberCount(ChatID chatId) {
  return _client.apiCall(_token, 'getChatMemberCount', {
    'chat_id': chatId,
  });
}