MadelineProto/docs/API_docs/constructors/channelAdminLogEvent.md

46 lines
1.0 KiB
Markdown
Raw Normal View History

2017-06-30 15:36:33 +02:00
---
title: channelAdminLogEvent
description: channelAdminLogEvent attributes, type and example
---
## 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:
```
2017-07-23 16:33:46 +02:00
$channelAdminLogEvent = ['_' => 'channelAdminLogEvent', 'id' => long, 'date' => int, 'user_id' => int, 'action' => ChannelAdminLogEventAction];
2017-06-30 15:36:33 +02:00
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "channelAdminLogEvent", "id": long, "date": int, "user_id": int, "action": ChannelAdminLogEventAction}
2017-07-23 16:11:02 +02:00
```
2017-06-30 15:36:33 +02:00
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
channelAdminLogEvent={_='channelAdminLogEvent', id=long, date=int, user_id=int, action=ChannelAdminLogEventAction}
2017-06-30 15:36:33 +02:00
```