1.4 KiB
1.4 KiB
title | description | image |
---|---|---|
channelParticipantAdmin | Channel participant admin | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: channelParticipantAdmin
Channel participant admin
Attributes:
Name | Type | Required | Description |
---|---|---|---|
can_edit | Bool | Optional | Can edit? |
user_id | int | Yes | User ID |
inviter_id | int | Yes | Inviter ID |
promoted_by | int | Yes | Promoted by |
date | int | Yes | Date |
admin_rights | ChannelAdminRights | Yes | Admin rights |
Type: ChannelParticipant
Example:
$channelParticipantAdmin = ['_' => 'channelParticipantAdmin', 'can_edit' => Bool, 'user_id' => int, 'inviter_id' => int, 'promoted_by' => int, 'date' => int, 'admin_rights' => ChannelAdminRights];
PWRTelegram json-encoded version:
{"_": "channelParticipantAdmin", "can_edit": Bool, "user_id": int, "inviter_id": int, "promoted_by": int, "date": int, "admin_rights": ChannelAdminRights}
Or, if you're into Lua:
channelParticipantAdmin={_='channelParticipantAdmin', can_edit=Bool, user_id=int, inviter_id=int, promoted_by=int, date=int, admin_rights=ChannelAdminRights}