MadelineProtoDocs/docs/API_docs/constructors/popularContact.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

46 lines
867 B
Markdown

---
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];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "popularContact", "client_id": long, "importers": int}
```
Or, if you're into Lua:
```lua
popularContact={_='popularContact', client_id=long, importers=int}
```