1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 15:14:39 +01:00
MadelineProto/old_docs/API_docs_v42/constructors/contacts_suggested.md
2017-07-23 16:11:02 +02:00

868 B

title description
contacts.suggested contacts_suggested attributes, type and example

Constructor: contacts.suggested

Back to constructors index

Attributes:

Name Type Required
results Array of ContactSuggested Yes
users Array of User Yes

Type: contacts_Suggested

Example:

$contacts_suggested = ['_' => 'contacts.suggested', 'results' => [ContactSuggested], 'users' => [User], ];

PWRTelegram json-encoded version:

{"_":"contacts.suggested","results":["ContactSuggested"],"users":["User"]}

Or, if you're into Lua:

contacts_suggested={_='contacts.suggested', results={ContactSuggested}, users={User}, }