get Chat Members Count
suspend fun TelegramBotApiClient.getChatMembersCount(requestBody: GetChatMembersCountRequest): TelegramResponse<Int>
Content copied to clipboard
Use this method to get the number of members in a chat. Returns Int on success.
suspend fun TelegramBotApiClient.getChatMembersCount(chatId: Int): TelegramResponse<Int>
Content copied to clipboard
Use this method to get the number of members in a chat. Returns Int on success.
Parameters
chatId
Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)