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