ChannelParticipantAdmin

class pyrogram.raw.types.ChannelParticipantAdmin

Admin.

Constructor type of ChannelParticipant.

Details
  • Layer: 126

  • ID: 0xccbebbaf

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

  • promoted_by (int 32-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) – Telegram API parameter.

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