MadelineProtoDocs/old_docs/API_docs_v82/constructors/userStatusOnline.md

39 lines
646 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: userStatusOnline
description: User status online
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: userStatusOnline
[Back to constructors index](index.md)
User status online
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|expires|[int](../types/int.md) | Yes|Expires|
### Type: [UserStatus](../types/UserStatus.md)
### Example:
```php
$userStatusOnline = ['_' => 'userStatusOnline', 'expires' => int];
```
Or, if you're into Lua:
```lua
userStatusOnline={_='userStatusOnline', expires=int}
```