MadelineProtoDocs/old_docs/API_docs_v102/constructors/userStatusOnline.md

39 lines
646 B
Markdown
Raw Normal View History

2019-06-24 15:45:02 +02: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}
```