diff --git a/data/web/corefork.telegram.org/api/contacts.html b/data/web/corefork.telegram.org/api/contacts.html index 4ddb324baa..e5536302f1 100644 --- a/data/web/corefork.telegram.org/api/contacts.html +++ b/data/web/corefork.telegram.org/api/contacts.html @@ -120,6 +120,7 @@ Note that according to the user's privacy settings, n contacts.getContactIDs#7adc669d hash:long = Vector<int>;

Use contacts.getContacts to obtain all members of the contact list that have an associated Telegram account.

+

Use contacts.getContactIDs to obtain an array of Telegram user IDs for all contacts (0 is returned for contacts do not have an associated Telegram account or have hidden their account using privacy settings).

To obtain the full contact list, including contacts which do not have an associated Telegram account, use contacts.getSaved in combination with a takeout session ยป.

Getting contact statuses

Schema:

diff --git a/data/web/corefork.telegram.org/method/contacts.getContactIDs.html b/data/web/corefork.telegram.org/method/contacts.getContactIDs.html index 5ddef597fb..5ea81d50fa 100644 --- a/data/web/corefork.telegram.org/method/contacts.getContactIDs.html +++ b/data/web/corefork.telegram.org/method/contacts.getContactIDs.html @@ -42,7 +42,8 @@

contacts.getContactIDs

-

Get contact by telegram IDs

+

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