MadelineProtoDocs/old_docs/API_docs_v57/constructors/chatParticipants.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.0 KiB

title description image
chatParticipants Chat participants https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: chatParticipants

Back to constructors index

Chat participants

Attributes:

Name Type Required Description
chat_id int Yes Chat ID
participants Array of ChatParticipant Yes Participants
version int Yes Version

Type: ChatParticipants

Example:

$chatParticipants = ['_' => 'chatParticipants', 'chat_id' => int, 'participants' => [ChatParticipant, 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}