MadelineProtoDocs/old_docs/API_docs_v91/constructors/updateChatParticipantAdd.md

43 lines
1019 B
Markdown
Raw Normal View History

2019-03-08 13:49:23 +01:00
---
title: updateChatParticipantAdd
description: Update chat participant add
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateChatParticipantAdd
[Back to constructors index](index.md)
Update chat participant add
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[int](../types/int.md) | Yes|Chat ID|
|user\_id|[int](../types/int.md) | Yes|User ID|
|inviter\_id|[int](../types/int.md) | Yes|Inviter ID|
|date|[int](../types/int.md) | Yes|Date|
|version|[int](../types/int.md) | Yes|Version|
### Type: [Update](../types/Update.md)
### Example:
```php
$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int];
```
Or, if you're into Lua:
```lua
updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int}
```