1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 22:39:37 +01:00
MadelineProto/old_docs/API_docs_v70/constructors/userStatusOnline.md

654 B

title description
userStatusOnline userStatusOnline attributes, type and example

Constructor: userStatusOnline

Back to constructors index

Attributes:

Name Type Required
expires int Yes

Type: UserStatus

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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