MadelineProtoDocs/old_docs/API_docs_v53/constructors/inputPhotoCrop.md

845 B

title description image
inputPhotoCrop Photo crop https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPhotoCrop

Back to constructors index

Photo crop

Attributes:

Name Type Required Description
crop_left double Yes Crop left
crop_top double Yes Crop top
crop_width double Yes Crop width

Type: InputPhotoCrop

Example:

$inputPhotoCrop = ['_' => 'inputPhotoCrop', 'crop_left' => double, 'crop_top' => double, 'crop_width' => double];

Or, if you're into Lua:

inputPhotoCrop={_='inputPhotoCrop', crop_left=double, crop_top=double, crop_width=double}