MadelineProtoDocs/old_docs/API_docs_v40/constructors/updateChatParticipants.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

43 lines
855 B
Markdown

---
title: updateChatParticipants
description: updateChatParticipants attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateChatParticipants
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|participants|[ChatParticipants](../types/ChatParticipants.md) | Yes|
### Type: [Update](../types/Update.md)
### Example:
```php
$updateChatParticipants = ['_' => 'updateChatParticipants', 'participants' => ChatParticipants];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "updateChatParticipants", "participants": ChatParticipants}
```
Or, if you're into Lua:
```lua
updateChatParticipants={_='updateChatParticipants', participants=ChatParticipants}
```