MadelineProtoDocs/old_docs/API_docs_v13/constructors/inputMediaContact.md

41 lines
917 B
Markdown
Raw Normal View History

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