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 |
---|---|---|---|
botInlineMessageMediaContact | Send a contact | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: botInlineMessageMediaContact
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
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];