mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 02:56:57 +01:00
43 lines
956 B
Markdown
43 lines
956 B
Markdown
|
---
|
||
|
title: channelAdminLogEventActionTogglePreHistoryHidden
|
||
|
description: channelAdminLogEventActionTogglePreHistoryHidden attributes, type and example
|
||
|
---
|
||
|
## Constructor: channelAdminLogEventActionTogglePreHistoryHidden
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|new\_value|[Bool](../types/Bool.md) | Yes|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "channelAdminLogEventActionTogglePreHistoryHidden", "new_value": Bool}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool}
|
||
|
|
||
|
```
|
||
|
|
||
|
|