Imports contacts: saves a full list on the server, adds already registered contacts to the contact list, returns added contacts and their info.
Use contacts.addContact to add Telegram contacts without actually using their phone number.
contacts.importedContacts#ad524315 imported:Vector<ImportedContact> retry_contacts:Vector<long> users:Vector<User> = contacts.ImportedContacts;
---functions---
contacts.importContacts#da30b32d contacts:Vector<InputContact> replace:Bool = contacts.ImportedContacts;
Name | Type | Description |
---|---|---|
contacts | Vector<InputContact> | List of contacts to import |
Add an existing telegram user as contact.
Use contacts.importContacts to add contacts by phone number, without knowing their Telegram ID.