MadelineProtoDocs/old_docs/API_docs_v103/constructors/popularContact.md

40 lines
735 B
Markdown
Raw Normal View History

2019-08-15 20:25:16 +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}
```