deleteChatHistory method
delete chat history
Implementation
Future<Map> deleteChatHistory({
required chat_id,
bool remove_from_chat_list = true,
bool revoke = true,
required int clientId,
bool isVoid = false,
Duration? delayDuration,
bool? isUseCache,
Duration? durationCacheExpire,
Duration? invokeTimeOut,
String? extra,
}) async {
return await request(
"deleteChatHistory",
parameters: {
"chat_id": chat_id,
"remove_from_chat_list": remove_from_chat_list,
"revoke": revoke,
},
isUseCache: isUseCache,
durationCacheExpire: durationCacheExpire,
clientId: clientId,
isVoid: isVoid,
extra: extra,
);
}