Skip to main content

channelParticipantBanned

Banned/kicked user

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

Implements ChannelParticipant.

Fields​

NameTypeRequiredDescription
Leftbool—Whether the user has left the group
PeerPeerClassyesThe banned peer
KickedByint64yesUser was kicked by the specified admin
DateintyesWhen did the user join the group
BannedRightsChatBannedRightsyesBanned rights
Rankstring—The participant's tag ».

References​