Link Search Menu Expand Document

danog\MadelineProto\EventHandler\Participant\Admin

Back to index

Author: Daniil Gentili daniil@daniil.it

Admin.

Properties

  • $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

Method list:

Methods:

fromRawParticipant(array $rawParticipant): self

Parameters:

  • $rawParticipant: array

Generated by danog/phpdoc