MadelineProtoDocs/docs/API_docs/constructors/userStatusOnline.md
2024-05-01 14:53:46 +02:00

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];
```