MadelineProto/old_docs/API_docs_v65/constructors/inputMediaContact.md
2017-07-23 16:33:46 +02:00

940 B

title description
inputMediaContact inputMediaContact attributes, type and example

Constructor: inputMediaContact

Back to constructors index

Attributes:

Name Type Required
phone_number string Yes
first_name string Yes
last_name string Yes

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'}