From 5901d0e2383ce5926d4fa49f9a21ddf8d629c9b2 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 24 Dec 2023 14:38:33 +0000 Subject: [PATCH] Update content of files --- data/web/corefork.telegram.org/api/contacts.html | 1 + .../corefork.telegram.org/method/contacts.getContactIDs.html | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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).