Get All Contact Telegram User IDs
get_contact_idsRetrieve a lightweight list of all Telegram user IDs in your address book to check whether a given user ID is an existing contact.
Instructions
Retrieve a lightweight list of all Telegram user IDs in your address book. Use when checking if a user ID is an existing contact. For full contact profiles, use list_contacts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Optional account label for multi-account environments. If omitted in single-mode, the default account is used. In multi-mode without an account, read-only tools fan out across all configured accounts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |