mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 02:06:56 +01:00
44 lines
1.0 KiB
Markdown
44 lines
1.0 KiB
Markdown
|
---
|
||
|
title: channelAdminLogEventActionEditMessage
|
||
|
description: channelAdminLogEventActionEditMessage attributes, type and example
|
||
|
---
|
||
|
## Constructor: channelAdminLogEventActionEditMessage
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|---------------|----------|
|
||
|
|prev\_message|[Message](../types/Message.md) | Optional|
|
||
|
|new\_message|[Message](../types/Message.md) | Optional|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$channelAdminLogEventActionEditMessage = ['_' => 'channelAdminLogEventActionEditMessage', 'prev_message' => Message, 'new_message' => Message];
|
||
|
```
|
||
|
|
||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||
|
|
||
|
```
|
||
|
{"_": "channelAdminLogEventActionEditMessage", "prev_message": Message, "new_message": Message}
|
||
|
```
|
||
|
|
||
|
|
||
|
Or, if you're into Lua:
|
||
|
|
||
|
|
||
|
```
|
||
|
channelAdminLogEventActionEditMessage={_='channelAdminLogEventActionEditMessage', prev_message=Message, new_message=Message}
|
||
|
|
||
|
```
|
||
|
|
||
|
|