Link Search Menu Expand Document

Constructor: botInlineMessageMediaContact

Back to constructors index

Send a contact

Attributes:

NameTypeRequiredDescription
phone_numberstringYesPhone number
first_namestringYesFirst name
last_namestringYesLast name
vcardstringYesVCard info
reply_markupReplyMarkupOptionalInline keyboard

Type: BotInlineMessage

Usage of reply_markup

You can provide bot API reply_markup objects here.

Example:

$botInlineMessageMediaContact = ['_' => 'botInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string', 'reply_markup' => ReplyMarkup];