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

1.0 KiB

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
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}