Layer 220
ContactsGetContactIDs
Get the telegram IDs of all contacts. Returns an array of Telegram user IDs for all contacts (0 if a contact does not have an associated Telegram account or have hidden their account using privacy settings).
method
Users
contacts.getContactIDs#7adc669d hash:long = Vector<int>;
Parameters
| Name | Type | Description |
|---|---|---|
| Hash | long | Hash used for caching, for more info click here |
Returns
VectorGogram Example
// ContactsGetContactIDs - positional arguments result, err := client.ContactsGetContactIDs(int64(0)) if err != nil { // handle error } // result is *tg.Vector