deletePhoneCallHistory method
Delete Phone Call History.
ID: f9cbe409
.
Implementation
Future<Result<MessagesAffectedFoundMessagesBase>> deletePhoneCallHistory({
required bool revoke,
}) async {
// Preparing the request.
final request = MessagesDeletePhoneCallHistory(
revoke: revoke,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<MessagesAffectedFoundMessagesBase>();
}