mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
30 lines
639 B
Markdown
30 lines
639 B
Markdown
|
---
|
||
|
title: "chatOnlines"
|
||
|
description: "Number of online users in a chat"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: chatOnlines
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Number of online users in a chat
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|onlines|[int](/API_docs/types/int.html) | Yes|Number of online users|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [ChatOnlines](/API_docs/types/ChatOnlines.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$chatOnlines = ['_' => 'chatOnlines', 'onlines' => int];
|
||
|
```
|