Skip to main content

channelParticipantAdmin

Admin

type tg.ChannelParticipantAdmin struct { /* ... */ }

Implements ChannelParticipant.

Fields​

NameTypeRequiredDescription
CanEditbool—Can this admin promote other admins with the same permissions?
Selfbool—Is this the current user
UserIDint64yesAdmin user ID
InviterIDint64—User that invited the admin to the channel/group
PromotedByint64yesUser that promoted the user to admin
DateintyesWhen did the user join
AdminRightsChatAdminRightsyesAdmin rights
Rankstring—The participant's tag », defaults to "Admin" if not set.

References​