MadelineProtoDocs/old_docs/API_docs_v28/constructors/chatParticipants.md

41 lines
936 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: chatParticipants
description: Group members.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: chatParticipants
[Back to constructors index](index.md)
Group members.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int](../types/int.md) | Yes|Group identifier|
|participants|Array of [ChatParticipant](../types/ChatParticipant.md) | Yes|List of group members|
|version|[int](../types/int.md) | Yes|Group version number|
### Type: [ChatParticipants](../types/ChatParticipants.md)
### Example:
```php
$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, ChatParticipant], 'version' => int];
```
Or, if you're into Lua:
```lua
chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int}
```