MadelineProtoDocs/old_docs/API_docs_v25/constructors/chatParticipants.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.1 KiB

title description image
chatParticipants chatParticipants attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: chatParticipants

Back to constructors index

Attributes:

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

Type: ChatParticipants

Example:

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

PWRTelegram json-encoded version:

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

Or, if you're into Lua:

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