MadelineProtoDocs/old_docs/API_docs_v105/constructors/popularContact.md

40 lines
735 B
Markdown
Raw Normal View History

2019-09-13 17:13:55 +02:00
---
title: popularContact
description: Popular contact
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: popularContact
[Back to constructors index](index.md)
Popular contact
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|client\_id|[long](../types/long.md) | Yes|Client ID|
|importers|[int](../types/int.md) | Yes|Importers|
### Type: [PopularContact](../types/PopularContact.md)
### Example:
```php
$popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int];
```
Or, if you're into Lua:
```lua
popularContact={_='popularContact', client_id=long, importers=int}
```