getThreadMentionCountsByChannelWithHttpInfo 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.
Note: This method returns the HTTP Response.
Parameters:
Implementation
Future<Response> getThreadMentionCountsByChannelWithHttpInfo(
  String userId,
  String teamId,
) async {
  // ignore: prefer_const_declarations
  final path = r'/users/{user_id}/teams/{team_id}/threads/mention_counts'
      .replaceAll('{user_id}', userId)
      .replaceAll('{team_id}', teamId);
  // ignore: prefer_final_locals
  Object? postBody;
  final queryParams = <MmQueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};
  const contentTypes = <String>[];
  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}