getContacts method
Get Contacts.
ID: 5dd69e12
.
Implementation
Future<Result<ContactsContactsBase>> getContacts({
required int hash,
}) async {
// Preparing the request.
final request = ContactsGetContacts(
hash: hash,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<ContactsContactsBase>();
}