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

867 B

title description image
inputChatPhoto Existing photo to be set as a chat profile photo. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputChatPhoto

Back to constructors index

Existing photo to be set as a chat profile photo.

Attributes:

Name Type Required Description
id MessageMedia, Message, Update or InputPhoto Optional Existing photo
crop InputPhotoCrop Yes

Type: InputChatPhoto

Example:

$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop];

Or, if you're into Lua:

inputChatPhoto={_='inputChatPhoto', id=InputPhoto, crop=InputPhotoCrop}