ChannelParticipantBanned#

class pyrogram.raw.types.ChannelParticipantBanned#

Banned/kicked user.

Constructor of ChannelParticipant.

Details:
  • Layer: 158

  • ID: 6DF8014E

Parameters:
  • peer (Peer) – The banned peer.

  • kicked_by (int 64-bit) – User was kicked by the specified admin.

  • date (int 32-bit) – When did the user join the group.

  • banned_rights (ChatBannedRights) – Banned rights.

  • left (bool, optional) – Whether the user has left the group.