MadelineProtoDocs/docs/API_docs/constructors/updateChatParticipantAdd.md

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.
N.B.: This Update isn't relative to the service message generated by the join event.

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}