getThreadMentionCountsByChannel method
Get all unread mention counts from followed threads, per-channel
Get all unread mention counts from followed threads  Minimum server version: 5.29  ##### Permissions Must be logged in as the user or have edit_other_users permission.
Parameters:
Implementation
Future<void> getThreadMentionCountsByChannel(
  String userId,
  String teamId,
) async {
  final response = await getThreadMentionCountsByChannelWithHttpInfo(
    userId,
    teamId,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}