mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.3 KiB
1.3 KiB
title | description | nav_exclude | image |
---|---|---|---|
inputPhoneContact | Phone contact. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: inputPhoneContact
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'];