MadelineProtoDocs/old_docs/API_docs_v100/constructors/channelAdminLogEventActionChangePhoto.md
2019-12-27 17:48:04 +01:00

990 B

title description image
channelAdminLogEventActionChangePhoto The channel/supergroup's picture was changed https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionChangePhoto

Back to constructors index

The channel/supergroup's picture was changed

Attributes:

Name Type Required Description
prev_photo Photo Optional Previous picture
new_photo Photo Optional New picture

Type: ChannelAdminLogEventAction

Example:

$channelAdminLogEventActionChangePhoto = ['_' => 'channelAdminLogEventActionChangePhoto', 'prev_photo' => Photo, 'new_photo' => Photo];

Or, if you're into Lua:

channelAdminLogEventActionChangePhoto={_='channelAdminLogEventActionChangePhoto', prev_photo=Photo, new_photo=Photo}