Banned/kicked user
channelParticipantBanned#1c0facaf flags:# left:flags.0?true user_id:int kicked_by:int date:int banned_rights:ChatBannedRights = ChannelParticipant;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
left | flags.0?true | Whether the user has left the group |
peer | Peer | The banned peer |
kicked_by | long | User was kicked by the specified admin |
date | int | When did the user join the group |
banned_rights | ChatBannedRights | Banned rights |
How to handle admin permissions, granular bans and global permissions in channels, groups and supergroups.