Phone contact. The
client_id is just an arbitrary contact ID: it should be set, for example, to an incremental number when using contacts.importContacts, in order to retry importing only the contacts that weren't imported successfully.
inputPhoneContact#f392b7f4 client_id:long phone:string first_name:string last_name:string = InputContact;
|client_id||long||User identifier on the client|
|first_name||string||Contact's first name|
|last_name||string||Contact's last name|
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.