Link Search Menu Expand Document

Constructor: messageMediaContact

Back to constructors index

Attached contact.

Attributes:

NameTypeRequiredDescription
phone_numberstringYesPhone number
first_namestringYesContact’s first name
last_namestringYesContact’s last name
vcardstringYesVCARD of contact
user_idlongYesUser 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];