1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 21:37:49 +01:00
MadelineProto/docs/API_docs/constructors/popularContact.md
Daniil Gentili 54f69ece92 Bugfixes
2017-07-24 01:32:29 +02:00

754 B

title description
popularContact popularContact attributes, type and example

Constructor: popularContact

Back to constructors index

Attributes:

Name Type Required
client_id long Yes
importers int Yes

Type: PopularContact

Example:

$popularContact = ['_' => 'popularContact', 'client_id' => long, 'importers' => int];

PWRTelegram json-encoded version:

{"_": "popularContact", "client_id": long, "importers": int}

Or, if you're into Lua:

popularContact={_='popularContact', client_id=long, importers=int}