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

nametypedescription
flags#Flags, see TL conditional fields
can_editflags.0?trueCan this admin promote other admins with the same permissions?
selfflags.1?trueIs this the current user
user_idlongAdmin user ID
inviter_idflags.1?longUser that invited the admin to the channel/group
promoted_bylongUser that promoted the user to admin
dateintWhen did the user join
admin_rightsChatAdminRightsAdmin rights
rankflags.2?stringThe 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×

idlayers
#a82fa89868–92
#5daa6e2393–103
#ccbebbaf104–132
#34c3bb53133–229