MadelineProtoDocs/old_docs/API_docs_v44/constructors/inputPhoneContact.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

title description image
inputPhoneContact Phone contact 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 Client ID
phone string Yes Phone
first_name string Yes First name
last_name string Yes Last name

Type: InputContact

Example:

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

PWRTelegram json-encoded version:

{"_": "inputPhoneContact", "client_id": long, "phone": "string", "first_name": "string", "last_name": "string"}

Or, if you're into Lua:

inputPhoneContact={_='inputPhoneContact', client_id=long, phone='string', first_name='string', last_name='string'}