MadelineProtoDocs/old_docs/API_docs_v75/constructors/contact.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

764 B

title description image
contact Contact https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: contact

Back to constructors index

Contact

Attributes:

Name Type Required Description
user_id int Yes User ID
mutual Bool Yes Mutual?

Type: Contact

Example:

$contact = ['_' => 'contact', 'user_id' => int, 'mutual' => Bool];

PWRTelegram json-encoded version:

{"_": "contact", "user_id": int, "mutual": Bool}

Or, if you're into Lua:

contact={_='contact', user_id=int, mutual=Bool}