mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-14 20:06:58 +01:00
1.0 KiB
1.0 KiB
title | description |
---|---|
Participant | PWRTelegram participant attributes, type and example |
Constructor: PWRTelegram chat participant
Attributes:
Name | Type | Required | Description |
---|---|---|---|
user | Chat | Yes | The participant |
inviter | Chat | Optional | The user that invited this participant |
promoted_by | Chat | Optional | The user that promoted this participant |
kicked_by | Chat | Optional | The user that kicked this participant |
date | int | Yes | When was the user invited |
role | string | Yes | user, admin, creator, banned |
can_edit | Bool | Optional | Can the user edit messages in the channel |
left | Bool | Optional | Has this user left |
admin_rights | ChannelAdminRights | Optional | Admin rights |
banned_rights | ChannelBannedRights | Optional | Banned rights |