MadelineProtoDocs/old_docs/API_docs_v3/constructors/contactStatus.md
2020-06-16 17:50:25 +02:00

787 B

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

Constructor: contactStatus

Back to constructors index

Contact status: online / offline.

Attributes:

Name Type Required Description
user_id int Yes User identifier
status UserStatus Optional Online status

Type: ContactStatus

Example:

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

Or, if you're into Lua:

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