1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 21:19:36 +01:00
MadelineProto/old_docs/API_docs_v27/constructors/updateChatParticipantAdd.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

983 B

title description
updateChatParticipantAdd updateChatParticipantAdd attributes, type and example

Constructor: updateChatParticipantAdd

Back to constructors index

Attributes:

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

Type: Update

Example:

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

PWRTelegram json-encoded version:

{"_": "updateChatParticipantAdd", "chat_id": int, "user_id": int, "inviter_id": int, "version": int}

Or, if you're into Lua:

updateChatParticipantAdd={_='updateChatParticipantAdd', chat_id=int, user_id=int, inviter_id=int, version=int}