MadelineProtoDocs/old_docs/API_docs_v103/constructors/botInlineMessageMediaContact.md
2019-12-27 17:48:04 +01:00

1.3 KiB

title description image
botInlineMessageMediaContact Send a contact https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: botInlineMessageMediaContact

Back to constructors index

Send a contact

Attributes:

Name Type Required Description
phone_number string Yes Phone number
first_name string Yes First name
last_name string Yes Last name
vcard string Yes VCard info
reply_markup ReplyMarkup Optional Inline keyboard

Type: BotInlineMessage

Example:

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

Or, if you're into Lua:

botInlineMessageMediaContact={_='botInlineMessageMediaContact', phone_number='string', first_name='string', last_name='string', vcard='string', reply_markup=ReplyMarkup}

Usage of reply_markup

You can provide bot API reply_markup objects here.