MadelineProtoDocs/old_docs/API_docs_v104/constructors/chatParticipantAdmin.md

41 lines
846 B
Markdown
Raw Normal View History

2019-08-15 20:25:16 +02:00
---
title: chatParticipantAdmin
description: Chat participant admin
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: chatParticipantAdmin
[Back to constructors index](index.md)
Chat participant admin
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[int](../types/int.md) | Yes|User ID|
|inviter\_id|[int](../types/int.md) | Yes|Inviter ID|
|date|[int](../types/int.md) | Yes|Date|
### Type: [ChatParticipant](../types/ChatParticipant.md)
### Example:
```php
$chatParticipantAdmin = ['_' => '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}
```