MadelineProtoDocs/old_docs/API_docs_v103/constructors/userStatusOnline.md

39 lines
646 B
Markdown
Raw Normal View History

2019-08-15 20:25:16 +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}
```