MadelineProtoDocs/old_docs/API_docs_v109/constructors/contactStatus.md
2020-03-06 12:24:14 +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}