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

1.2 KiB

title description image
messageMediaContact Message media contact https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageMediaContact

Back to constructors index

Message 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
user_id int Yes User ID

Type: MessageMedia

Example:

$messageMediaContact = ['_' => 'messageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int];

PWRTelegram json-encoded version:

{"_": "messageMediaContact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int}

Or, if you're into Lua:

messageMediaContact={_='messageMediaContact', phone_number='string', first_name='string', last_name='string', user_id=int}