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

46 lines
1.1 KiB
Markdown

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