MadelineProtoDocs/old_docs/API_docs_v65/constructors/updateChatParticipantAdd.md
2019-12-27 17:48:04 +01:00

1.1 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.

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}