updateContactNote method

Future<Result<Boolean>> updateContactNote({
  1. required InputUserBase id,
  2. required TextWithEntitiesBase note,
})

Update Contact Note.

ID: 139f63fb.

Implementation

Future<Result<Boolean>> updateContactNote({
  required InputUserBase id,
  required TextWithEntitiesBase note,
}) async {
  // Preparing the request.
  final request = ContactsUpdateContactNote(id: id, note: note);

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<Boolean>();
}