MadelineProtoDocs/old_docs/API_docs_v8/constructors/messageMediaContact.md
2020-06-16 17:50:25 +02:00

1.1 KiB

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

Constructor: messageMediaContact

Back to constructors index

Attached contact.

Attributes:

Name Type Required Description
phone_number string Yes Phone number
first_name string Yes Contact's first name
last_name string Yes Contact's last name
user_id int Yes User identifier or 0, if the user with the given phone number is not registered

Type: MessageMedia

Example:

$messageMediaContact = ['_' => '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}