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

1.1 KiB

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

Constructor: inputMediaContact

Back to constructors index

Media contact

Attributes:

Name Type Required Description
phone_number string Yes Phone number
first_name string Yes First name
last_name string Yes Last name
vcard string Yes Vcard

Type: InputMedia

Example:

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

PWRTelegram json-encoded version:

{"_": "inputMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "vcard": "string"}

Or, if you're into Lua:

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