channelParticipantBanned #

Banned/kicked user

Layer 223

channelParticipantBanned#d5f0ad91 flags:# left:flags.0?true peer:Peer kicked_by:long date:int banned_rights:ChatBannedRights rank:flags.2?string = ChannelParticipant;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
leftflags.0?trueWhether the user has left the group
peerPeerThe banned peer
kicked_bylongUser was kicked by the specified admin
dateintWhen did the user join the group
banned_rightsChatBannedRightsBanned rights
rankflags.2?stringThe participant's tag ».

Type #

ChannelParticipant

Admin, banned, default rights #

How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.

Group participant tags #

Members in group chats (both basic groups and supergroups) can add a tag next to their name — to show their role at work, what they study in school, and more.