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

 Method schema is available as of layer 86. Switch »

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.