1.3 KiB
1.3 KiB
title | description | image |
---|---|---|
channelParticipantAdmin | Admin | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: channelParticipantAdmin
Admin
Attributes:
Name | Type | Required | Description |
---|---|---|---|
can_edit | Bool | Optional | Can this admin promote other admins with the same permissions? |
user_id | int | Yes | Admin user ID |
inviter_id | int | Yes | User that invited the admin to the channel/group |
promoted_by | int | Yes | User that promoted the user to admin |
date | int | Yes | When did the user join |
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];
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}