mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-11 16:50:37 +01:00
30 lines
670 B
Markdown
30 lines
670 B
Markdown
---
|
|
title: "userStatusOnline"
|
|
description: "Online status of the user."
|
|
nav_exclude: true
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Constructor: userStatusOnline
|
|
[Back to constructors index](/API_docs/constructors/index.html)
|
|
|
|
|
|
|
|
Online status of the user.
|
|
|
|
### Attributes:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|expires|[int](/API_docs/types/int.html) | Yes|Time to expiration of the current online status|
|
|
|
|
|
|
|
|
### Type: [UserStatus](/API_docs/types/UserStatus.html)
|
|
|
|
|
|
### Example:
|
|
|
|
```
|
|
$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int];
|
|
```
|