MadelineProtoDocs/old_docs/API_docs_v62/constructors/chatParticipantAdmin.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

45 lines
946 B
Markdown

---
title: chatParticipantAdmin
description: chatParticipantAdmin attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: chatParticipantAdmin
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|user\_id|[int](../types/int.md) | Yes|
|inviter\_id|[int](../types/int.md) | Yes|
|date|[int](../types/int.md) | Yes|
### Type: [ChatParticipant](../types/ChatParticipant.md)
### Example:
```php
$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatParticipantAdmin", "user_id": int, "inviter_id": int, "date": int}
```
Or, if you're into Lua:
```lua
chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int}
```