Raw.ChannelParticipantBanned
Banned/kicked user
channelParticipantBanned#6df8014e flags:# left:flags.0?true peer:Peer kicked_by:long date:int banned_rights:ChatBannedRights = ChannelParticipant;
export namespace Raw {
export class ChannelParticipantBanned {
constructor(params: {
left?: boolean;
peer: Raw.TypePeer;
kickedBy: bigint;
date: number;
bannedRights: Raw.TypeChatBannedRights;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x6df8014e
Property
left
: boolean or undefinedWhether the user has left the group
peer
: Raw.TypePeerThe banned peer
kickedBy
: bigintUser was kicked by the specified admin
date
: numberWhen did the user join the group
bannedRights
: Raw.TypeChatBannedRightsBanned rights