1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 17:47:21 +01:00
MadelineProto/old_docs/API_docs_v38/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, }