MadelineProtoDocs/old_docs/API_docs_v65/constructors/contactStatus.md
2019-12-27 17:48:04 +01: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}