1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 00:19:37 +01:00
MadelineProto/old_docs/API_docs_v40/constructors/inputMediaContact.md
2017-07-23 16:11:02 +02:00

925 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, }