1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-03 00:27:46 +01:00
MadelineProto/old_docs/API_docs_v57/constructors/chatParticipants.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

934 B

title description
chatParticipants chatParticipants attributes, type and example

Constructor: chatParticipants

Back to constructors index

Attributes:

Name Type Required
chat_id int Yes
participants Array of ChatParticipant Yes
version int Yes

Type: ChatParticipants

Example:

$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant], 'version' => int];

PWRTelegram json-encoded version:

{"_": "chatParticipants", "chat_id": int, "participants": [ChatParticipant], "version": int}

Or, if you're into Lua:

chatParticipants={_='chatParticipants', chat_id=int, participants={ChatParticipant}, version=int}