MadelineProtoDocs/old_docs/API_docs_v95/constructors/inputMediaContact.md

42 lines
1011 B
Markdown
Raw Normal View History

2019-03-29 21:12:30 +01:00
---
title: inputMediaContact
2019-12-27 17:48:04 +01:00
description: Phonebook contact
2019-03-29 21:12:30 +01:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputMediaContact
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Phonebook contact
2019-03-29 21:12:30 +01:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|phone\_number|[string](../types/string.md) | Yes|Phone number|
2019-12-27 17:48:04 +01:00
|first\_name|[string](../types/string.md) | Yes|Contact's first name|
|last\_name|[string](../types/string.md) | Yes|Contact's last name|
|vcard|[string](../types/string.md) | Yes|Contact vcard|
2019-03-29 21:12:30 +01:00
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```php
$inputMediaContact = ['_' => 'inputMediaContact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'vcard' => 'string'];
```
Or, if you're into Lua:
```lua
inputMediaContact={_='inputMediaContact', phone_number='string', first_name='string', last_name='string', vcard='string'}
```