1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 23:19:38 +01:00
MadelineProto/old_docs/API_docs_v53/constructors/updateChatParticipantAdmin.md

30 lines
691 B
Markdown
Raw Normal View History

---
title: updateChatParticipantAdmin
description: updateChatParticipantAdmin attributes, type and example
---
## Constructor: updateChatParticipantAdmin
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|chat\_id|[int](../types/int.md) | Required|
|user\_id|[int](../types/int.md) | Required|
|is\_admin|[Bool](../types/Bool.md) | Required|
|version|[int](../types/int.md) | Required|
### Type: [Update](../types/Update.md)
### Example:
```
$updateChatParticipantAdmin = ['_' => 'updateChatParticipantAdmin', 'chat_id' => int, 'user_id' => int, 'is_admin' => Bool, 'version' => int, ];
```