# updateChatParticipantAdmin

> Admin permissions of a user in a basic group were changed

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



Admin permissions of a user in a [basic group](https://core.telegram.org/api/channel#basic-groups) were changed

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|chat\_id|[long](/API_docs/types/long.html) | Yes|Chat ID|
|user\_id|[long](/API_docs/types/long.html) | Yes|ID of the (de)admined user|
|is\_admin|[Bool](/API_docs/types/Bool.html) | Yes|Whether the user was rendered admin|
|version|[int](/API_docs/types/int.html) | Yes|Used in basic groups to reorder updates and make sure that all of them was received.|



### Type: [Update](/API_docs/types/Update.html)


### Example:

```
$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => long, 'user_id' => long, 'is_admin' => Bool, 'version' => int];
```
