1.2 KiB
1.2 KiB
title | description | image |
---|---|---|
updateChatParticipantAdd | New group member. | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateChatParticipantAdd
New group member.
This update is also typically emitted as an updateNewMessage with messageService.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
chat_id | int | Yes | Group ID |
user_id | int | Yes | ID of the new member |
inviter_id | int | Yes | ID of the user, who added member to the group |
date | int | Yes | When was the participant added |
version | int | Yes | Chat version number |
Type: Update
Example:
$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int];
Or, if you're into Lua:
updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, date=int, version=int}