# Constructor: documentAttributeImageSize

Back to constructors index

Defines the width and height of an image uploaded as document

# Attributes:

Name Type Required Description
w int Optional Width of image
h int Optional Height of image

# Type: DocumentAttribute

# Example:

$documentAttributeImageSize = ['_' => 'documentAttributeImageSize', 'w' => int, 'h' => int];

Or, if you’re into Lua:

documentAttributeImageSize={_='documentAttributeImageSize', w=int, h=int}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.