MadelineProtoDocs/old_docs/API_docs_v21/constructors/inputMediaContact.md
2020-06-16 17:50:25 +02: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'}