1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 23:27:46 +01:00
MadelineProto/old_docs/API_docs_v70/constructors/importedContact.md

757 B

title description
importedContact importedContact attributes, type and example

Constructor: importedContact

Back to constructors index

Attributes:

Name Type Required
user_id int Yes
client_id long Yes

Type: ImportedContact

Example:

$importedContact = ['_' => 'importedContact', 'user_id' => int, 'client_id' => long];

PWRTelegram json-encoded version:

{"_": "importedContact", "user_id": int, "client_id": long}

Or, if you're into Lua:

importedContact={_='importedContact', user_id=int, client_id=long}