mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
34 lines
1.0 KiB
Markdown
34 lines
1.0 KiB
Markdown
|
---
|
||
|
title: "updateChatParticipantAdd"
|
||
|
description: "New group member."
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: updateChatParticipantAdd
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
New group member.
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|chat\_id|[long](/API_docs/types/long.html) | Yes|Group ID|
|
||
|
|user\_id|[long](/API_docs/types/long.html) | Yes|ID of the new member|
|
||
|
|inviter\_id|[long](/API_docs/types/long.html) | Yes|ID of the user, who added member to the group|
|
||
|
|date|[int](/API_docs/types/int.html) | Yes|When was the participant added|
|
||
|
|version|[int](/API_docs/types/int.html) | Yes|Chat version number|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Update](/API_docs/types/Update.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => long, 'user_id' => long, 'inviter_id' => long, 'date' => int, 'version' => int];
|
||
|
```
|