MadelineProtoDocs/old_docs/API_docs_v18/constructors/inputMediaContact.md
2019-12-27 17:48:04 +01:00

917 B

title description image
inputMediaContact Phonebook contact https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMediaContact

Back to constructors index

Phonebook contact

Attributes:

Name Type Required Description
phone_number string Yes Phone number
first_name string Yes Contact's first name
last_name string Yes Contact's last name

Type: InputMedia

Example:

$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string'];

Or, if you're into Lua:

inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string'}