contacts.getContactIDs

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).

---functions---
contacts.getContactIDs#7adc669d hash:long = Vector<int>;

Parameters

Name Type Description
hash long Hash used for caching, for more info click here

Result

Vector<int>

Related pages

Pagination in the API

How to fetch results from large lists of objects.