1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-16 00:16:54 +01:00
MadelineProto/docs/TD_docs/constructors/userStatusOnline.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

715 B

title description
userStatusOnline User is online

Constructor: userStatusOnline

Back to constructors index

User is online

Attributes:

Name Type Required Description
expires int Yes Unix time when user's online status will expire

Type: UserStatus

Example:

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

PWRTelegram json-encoded version:

{"_": "userStatusOnline", "expires": int}

Or, if you're into Lua:

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