MadelineProtoDocs/old_docs/API_docs_v82/constructors/channelAdminLogEventActionChangePhoto.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.1 KiB

title description image
channelAdminLogEventActionChangePhoto Change photo https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: channelAdminLogEventActionChangePhoto

Back to constructors index

Change photo

Attributes:

Name Type Required Description
prev_photo ChatPhoto Optional Previous photo
new_photo ChatPhoto Optional New photo

Type: ChannelAdminLogEventAction

Example:

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

PWRTelegram json-encoded version:

{"_": "channelAdminLogEventActionChangePhoto", "prev_photo": ChatPhoto, "new_photo": ChatPhoto}

Or, if you're into Lua:

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