MadelineProtoDocs/old_docs/API_docs_v18/constructors/chatParticipants.md

994 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
admin_id int Yes Admin ID
participants Array of ChatParticipant Yes Participants
version int Yes Version

Type: ChatParticipants

Example:

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

Or, if you're into Lua:

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