Layer 220
method Users
contacts.getContacts#5dd69e12 hash:long = contacts.Contacts;

Parameters

Name Type Description
Hash long Hash used for caching, for more info click here. Note that the hash is computed using the usual algorithm, passing to the algorithm first the previously returned contacts. contacts. saved_count field, then max 100000 sorted user IDs from the contact list, including the ID of the currently logged in user if it is saved as a contact. Example: tdlib implementation.

Gogram Example

// ContactsGetContacts - positional arguments
result, err := client.ContactsGetContacts(int64(0))
if err != nil {
    // handle error
}
// result is *tg.ContactsContacts