mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 03:36:55 +01:00
1.0 KiB
1.0 KiB
title | description |
---|---|
chatParticipants | chatParticipants attributes, type and example |
Constructor: chatParticipants
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], '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}