MadelineProtoDocs/old_docs/API_docs_v21/constructors/channels.adminLogResults.md

42 lines
1.1 KiB
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: channels.adminLogResults
description: Admin log events
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/channels_adminLogResults.html
---
# Constructor: channels.adminLogResults
[Back to constructors index](index.md)
Admin log events
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|Admin log events|
|chats|Array of [Chat](../types/Chat.md) | Yes|Chats mentioned in events|
|users|Array of [User](../types/User.md) | Yes|Users mentioned in events|
### Type: [channels.AdminLogResults](../types/channels.AdminLogResults.md)
### Example:
```php
$channels.adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
channels.adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}}
```