ChannelParticipantAdmin#

class pyrogram.raw.types.ChannelParticipantAdmin#

Admin.

Constructor of ChannelParticipant.

Details:
  • Layer: 158

  • ID: 34C3BB53

Parameters:
  • user_id (int 64-bit) – Admin user ID.

  • promoted_by (int 64-bit) – User that promoted the user to admin.

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

  • admin_rights (ChatAdminRights) – Admin rights.

  • can_edit (bool, optional) – Can this admin promote other admins with the same permissions?.

  • is_self (bool, optional) – N/A

  • inviter_id (int 64-bit, optional) – User that invited the admin to the channel/group.

  • rank (str, optional) – The role (rank) of the admin in the group: just an arbitrary string, admin by default.