1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 15:07:20 +01:00
MadelineProto/docs/API_docs/constructors/popularContact.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}