deleteBotIconImageWithHttpInfo method
Delete bot's LHS icon image
Delete bot's LHS icon image based on bot_user_id string parameter. ##### Permissions Must have manage_bots
permission. Minimum server version: 5.14
Note: This method returns the HTTP Response
.
Parameters:
- String botUserId (required): Bot user ID
Implementation
Future<Response> deleteBotIconImageWithHttpInfo(
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,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}