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

866 B

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

Constructor: contactStatus

Back to constructors index

Contact status

Attributes:

Name Type Required Description
user_id int Yes User ID
status UserStatus Optional Status

Type: ContactStatus

Example:

$contactStatus = ['_' => 'contactStatus', 'user_id' => int, 'status' => UserStatus];

PWRTelegram json-encoded version:

{"_": "contactStatus", "user_id": int, "status": UserStatus}

Or, if you're into Lua:

contactStatus={_='contactStatus', user_id=int, status=UserStatus}