# danog\MadelineProto\EventHandler\Participant\Admin: Admin.

[Back to index](../../../../index.html)

> 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](https://core.telegram.org/api/rights)
* `$rank`: `string` The role (rank) of the admin in the group: just an arbitrary string, `admin` by default

## Method list:
* [`fromRawParticipant(array $rawParticipant): \danog\MadelineProto\EventHandler\Participant`](#fromRawParticipant)

## Methods:
### <a name="fromRawParticipant"></a> `fromRawParticipant(array $rawParticipant): \danog\MadelineProto\EventHandler\Participant`




Parameters:

* `$rawParticipant`: `array`   



---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
