MadelineProtoDocs/docs/API_docs/constructors/inputPhoneContact.md
2024-05-01 14:53:46 +02:00

1.3 KiB

title description nav_exclude image
inputPhoneContact Phone contact. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPhoneContact

Back to constructors index

Phone contact.

Attributes:

Name Type Required Description
client_id long Yes An arbitrary 64-bit integer: 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, according to the client_ids returned in contacts.importedContacts.retry_contacts.
phone string Yes Phone number
first_name string Yes Contact's first name
last_name string Yes Contact's last name

Type: InputContact

Example:

$inputPhoneContact = ['_' => 'inputPhoneContact', 'client_id' => long, 'phone' => 'string', 'first_name' => 'string', 'last_name' => 'string'];