MadelineProtoDocs/docs/API_docs/constructors/updateChatParticipantAdd.md
2020-10-01 18:18:41 +02:00

1.2 KiB

title description image
updateChatParticipantAdd New group member. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChatParticipantAdd

Back to constructors index

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}