MadelineProtoDocs/old_docs/API_docs_v42/constructors/updateChatParticipantAdd.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.1 KiB

title description image
updateChatParticipantAdd updateChatParticipantAdd attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChatParticipantAdd

Back to constructors index

Attributes:

Name Type Required
chat_id int Yes
user_id int Yes
inviter_id int Yes
date int Yes
version int Yes

Type: Update

Example:

$updateChatParticipantAdd = ['_' => 'updateChatParticipantAdd', 'chat_id' => int, 'user_id' => int, 'inviter_id' => int, 'date' => int, 'version' => int];

PWRTelegram json-encoded version:

{"_": "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}