1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 08:47:19 +01:00
MadelineProto/old_docs/API_docs_v51/constructors/userStatusOffline.md
2017-07-23 16:11:02 +02:00

678 B

title description
userStatusOffline userStatusOffline attributes, type and example

Constructor: userStatusOffline

Back to constructors index

Attributes:

Name Type Required
was_online int Yes

Type: UserStatus

Example:

$userStatusOffline = ['_' => 'userStatusOffline', 'was_online' => int, ];

PWRTelegram json-encoded version:

{"_":"userStatusOffline","was_online":"int"}

Or, if you're into Lua:

userStatusOffline={_='userStatusOffline', was_online=int, }