telegram api constructor · layer 229 · #34c3bb53
channelParticipantAdmin
Admin
definition
channelParticipantAdmin#34c3bb53 flags:# can_edit:flags.0?true self:flags.1?true user_id:long inviter_id:flags.1?long promoted_by:long date:int admin_rights:ChatAdminRights rank:flags.2?string = ChannelParticipant;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
can_edit | true | Can this admin promote other admins with the same permissions? |
self | true | Is this the current user |
user_id | long | Admin user ID |
inviter_id | long | User that invited the admin to the channel/group |
promoted_by | long | User that promoted the user to admin |
date | int | When did the user join |
admin_rights | ChatAdminRights | Admin rights |
rank | string | The role (rank) of the admin in the group: just an arbitrary string, admin by default |
type
ChannelParticipant · other constructors: channelParticipant, channelParticipantSelf, channelParticipantCreator, channelParticipantBanned, channelParticipantLeft
history
present in layers 68–229 · constructor id changed 3×
| id | layers |
|---|---|
| #a82fa898 | 68–92 |
| #5daa6e23 | 93–103 |
| #ccbebbaf | 104–132 |
| #34c3bb53 | 133–229 |