mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 08:41:57 +01:00
40 lines
1.2 KiB
Markdown
40 lines
1.2 KiB
Markdown
---
|
|
title: "inputBotInlineMessageMediaContact"
|
|
description: "A contact"
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: inputBotInlineMessageMediaContact
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
A contact
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|phone\_number|[string](/API_docs/types/string.html) | Yes|Phone number|
|
|
|first\_name|[string](/API_docs/types/string.html) | Yes|First name|
|
|
|last\_name|[string](/API_docs/types/string.html) | Yes|Last name|
|
|
|vcard|[string](/API_docs/types/string.html) | Yes|VCard info|
|
|
|reply\_markup|[ReplyMarkup](/API_docs/types/ReplyMarkup.html) | Optional|Inline keyboard|
|
|
|
|
|
|
|
|
### Type: [InputBotInlineMessage](/API_docs/types/InputBotInlineMessage.html)
|
|
|
|
|
|
|
|
## Usage of reply_markup
|
|
|
|
You can provide bot API reply_markup objects here.
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$inputBotInlineMessageMediaContact = ['_' => 'inputBotInlineMessageMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string', 'reply_markup' => ReplyMarkup];
|
|
```
|