MadelineProto/old_docs/API_docs_v40/constructors/contactSuggested.md

44 lines
786 B
Markdown
Raw Normal View History

---
title: contactSuggested
description: contactSuggested attributes, type and example
---
## Constructor: contactSuggested
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|user\_id|[int](../types/int.md) | Yes|
|mutual\_contacts|[int](../types/int.md) | Yes|
### Type: [ContactSuggested](../types/ContactSuggested.md)
### Example:
```
2017-07-23 16:33:46 +02:00
$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "contactSuggested", "user_id": int, "mutual_contacts": int}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int}
```