1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 07:19:36 +01:00
MadelineProto/old_docs/API_docs_v46/constructors/contactSuggested.md

44 lines
789 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:
```
$contactSuggested = ['_' => 'contactSuggested', 'user_id' => int, 'mutual_contacts' => int, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"contactSuggested","user_id":"int","mutual_contacts":"int"}
```
Or, if you're into Lua:
```
contactSuggested={_='contactSuggested', user_id=int, mutual_contacts=int, }
```