MadelineProtoDocs/old_docs/API_docs_v102/constructors/channelAdminLogEventActionChangePhoto.md

40 lines
917 B
Markdown
Raw Normal View History

2019-06-24 15:45:02 +02:00
---
title: channelAdminLogEventActionChangePhoto
description: Change photo
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionChangePhoto
[Back to constructors index](index.md)
Change photo
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_photo|[Photo](../types/Photo.md) | Optional|Old photo|
|new\_photo|[Photo](../types/Photo.md) | Optional|New photo|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => Photo, 'new_photo' => Photo];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=Photo, new_photo=Photo}
```