1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:59:38 +01:00
MadelineProto/old_docs/API_docs_v70/constructors/popularContact.md

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}