Raw.contacts.GetContacts
Returns the current user’s contact list.
contacts.getContacts#5dd69e12 hash:long = contacts.Contacts;
export namespace Raw {
export namespace contacts {
export class GetContacts {
constructor(params: { hash: bigint }) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0x5dd69e12
Property
hash
: bigintHash 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.savedCount 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.