getBotIconImageWithHttpInfo method
Get bot's LHS icon
Get a bot's LHS icon image based on bot_user_id string parameter. ##### Permissions Must be logged in. Minimum server version: 5.14
Note: This method returns the HTTP Response
.
Parameters:
- String botUserId (required): Bot user ID
Implementation
Future<Response> getBotIconImageWithHttpInfo(
String botUserId,
) async {
// ignore: prefer_const_declarations
final path = r'/bots/{bot_user_id}/icon'.replaceAll('{bot_user_id}', botUserId);
// 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,
);
}