Admin
channelParticipantAdmin#ccbebbaf flags:# can_edit:flags.0?true self:flags.1?true user_id:int inviter_id:flags.1?int promoted_by:int date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
can_edit | flags.0?true | Can this admin promote other admins with the same permissions? |
self | flags.1?true | Is this the current user |
user_id | int | Admin user ID |
inviter_id | flags.1?int | User that invited the admin to the channel/group |
promoted_by | int | User that promoted the user to admin |
date | int | When did the user join |
admin_rights | ChatAdminRights | Admin rights |
rank | flags.2?string | The role (rank) of the admin in the group: just an arbitrary string, admin by default |
How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.