MadelineProtoDocs/old_docs/API_docs_v13/constructors/updateChatParticipantDelete.md

41 lines
967 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: updateChatParticipantDelete
description: A member has left the group.
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateChatParticipantDelete
[Back to constructors index](index.md)
A member has left the group.
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int](../types/int.md) | Yes|Group ID|
|user\_id|[int](../types/int.md) | Yes|ID of the user|
|version|[int](../types/int.md) | Yes|Used in basic groups to reorder updates and make sure that all of them was received.|
### Type: [Update](../types/Update.md)
### Example:
```php
$updateChatParticipantDelete = ['_' => 'updateChatParticipantDelete', 'chat_id' => int, 'user_id' => int, 'version' => int];
```
Or, if you're into Lua:
```lua
updateChatParticipantDelete={_='updateChatParticipantDelete', chat_id=int, user_id=int, version=int}
```