ChannelParticipantBanned

class pyrogram.raw.types.ChannelParticipantBanned

Banned/kicked user.

Constructor type of ChannelParticipant.

Details
  • Layer: 126

  • ID: 0x50a1dfd6

Parameters
  • peer (Peer) – Telegram API parameter.

  • kicked_by (int 32-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.