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

1003 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];

PWRTelegram json-encoded version:

{"_": "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}