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

702 B

title description image
userStatusOnline Online status of the user. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: userStatusOnline

Back to constructors index

Online status of the user.

Attributes:

Name Type Required Description
expires int Yes Time to expiration of the current online status

Type: UserStatus

Example:

$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int];

Or, if you're into Lua:

userStatusOnline={_='userStatusOnline', expires=int}