MadelineProtoDocs/old_docs/API_docs_v95/constructors/userStatusOnline.md

39 lines
646 B
Markdown
Raw Normal View History

2019-03-29 21:12:30 +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}
```