Link Search Menu Expand Document


Back to index

Author: Daniil Gentili



  • $canEdit: bool Can this admin promote other admins with the same permissions?
  • $self: bool Is this the current user
  • $userId: int Admin user ID
  • $inviterId: ?int User that invited the admin to the channel/group
  • $promotedBy: int User that promoted the user to admin
  • $date: int When did the user join
  • $adminRights: \danog\MadelineProto\EventHandler\Participant\Rights\Admin Admin rights
  • $rank: string The role (rank) of the admin in the group: just an arbitrary string, admin by default — Generated by danog/phpdoc