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#2caa4a42 hash:int = 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.