getTeamIconWithHttpInfo method
Get the team icon
Get the team icon of the team. Minimum server version: 4.9 ##### Permissions User must be authenticated. In addition, team must be open or the user must have the view_team
permission.
Note: This method returns the HTTP Response
.
Parameters:
- String teamId (required): Team GUID
Implementation
Future<Response> getTeamIconWithHttpInfo(
String teamId,
) async {
// ignore: prefer_const_declarations
final path = r'/teams/{team_id}/image'.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,
);
}