MadelineProtoDocs/old_docs/API_docs_v28/constructors/channelAdminLogEventActionChangePhoto.md
2020-06-16 17:50:25 +02:00

993 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 ChatPhoto Optional
new_photo ChatPhoto Optional

Type: ChannelAdminLogEventAction

Example:

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

Or, if you're into Lua:

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