reportEncryptedSpam method
Report Encrypted Spam.
ID: 4b0c8c0f
.
Implementation
Future<Result<Boolean>> reportEncryptedSpam({
required InputEncryptedChatBase peer,
}) async {
// Preparing the request.
final request = MessagesReportEncryptedSpam(
peer: peer,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<Boolean>();
}