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#d1cd0a4c imported:Vector<ImportedContact> 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.