mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
messageMediaContact | Attached contact. | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messageMediaContact
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 |
vcard | string | Yes | VCARD of contact |
user_id | long | 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', 'vcard' => 'string', 'user_id' => long];