MadelineProtoDocs/old_docs/API_docs_v42/constructors/inputPhoneContact.md

955 B

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'];

Or, if you're into Lua:

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