MadelineProtoDocs/old_docs/API_docs_v81/constructors/channels_adminLogResults.md

46 lines
1.1 KiB
Markdown
Raw Normal View History

2018-07-12 20:24:55 +02:00
---
title: channels.adminLogResults
description: channels_adminLogResults attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channels.adminLogResults
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|events|Array of [ChannelAdminLogEvent](../types/ChannelAdminLogEvent.md) | Yes|
|chats|Array of [Chat](../types/Chat.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [channels\_AdminLogResults](../types/channels_AdminLogResults.md)
### Example:
```
$channels_adminLogResults = ['_' => 'channels.adminLogResults', 'events' => [ChannelAdminLogEvent, ChannelAdminLogEvent], 'chats' => [Chat, Chat], 'users' => [User, User]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channels.adminLogResults", "events": [ChannelAdminLogEvent], "chats": [Chat], "users": [User]}
```
Or, if you're into Lua:
```
channels_adminLogResults={_='channels.adminLogResults', events={ChannelAdminLogEvent}, chats={Chat}, users={User}}
```