MadelineProtoDocs/old_docs/API_docs_v5/constructors/chatParticipants.md
2020-06-16 17:50:25 +02:00

1010 B

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

Constructor: chatParticipants

Back to constructors index

Group members.

Attributes:

Name Type Required Description
chat_id int Yes Group identifier
admin_id int Yes
participants Array of ChatParticipant Yes List of group members
version int Yes Group version number

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}