Skip to main content

channelParticipantAdmin

Admin

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

Implements ChannelParticipant.

Fields

NameTypeRequiredDescription
CanEditboolCan this admin promote other admins with the same permissions?
SelfboolIs this the current user
UserIDint64yesAdmin user ID
InviterIDint64User that invited the admin to the channel/group
PromotedByint64yesUser that promoted the user to admin
DateintyesWhen did the user join
AdminRightsChatAdminRightsyesAdmin rights
RankstringThe participant's tag », defaults to "Admin" if not set.

References