MadelineProto/old_docs/API_docs_v65/constructors/inputMediaContact.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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'}