MadelineProtoDocs/old_docs/API_docs_v43/constructors/userStatusOnline.md

39 lines
702 B
Markdown
Raw Normal View History

2020-09-12 12:47:38 +02:00
---
title: userStatusOnline
description: Online status of the user.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: userStatusOnline
[Back to constructors index](index.md)
Online status of the user.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|expires|[int](../types/int.md) | Yes|Time to expiration of the current online status|
### Type: [UserStatus](../types/UserStatus.md)
### Example:
```php
$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int];
```
Or, if you're into Lua:
```lua
userStatusOnline={_='userStatusOnline', expires=int}
```