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

1.0 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

Type: InputMedia

Example:

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

PWRTelegram json-encoded version:

{"_": "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'}