channelParticipantBanned

Banned/kicked user

생성자 스키마는 레이어 93부터 사용할 수 있습니다. 전환 »

Parameters

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
rank flags.2?string The participant's tag ».

Type

ChannelParticipant

Related pages

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.