MadelineProtoDocs/old_docs/API_docs_v71/constructors/chatParticipants.md

911 B

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];

Or, if you're into Lua:

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