Constructor: photoCachedSize

Back to constructors index

Description of an image and its content.

Attributes:

Name Type Required Description
type string Yes Thumbnail type
location FileLocation Yes File location
w int Yes Image width
h int Yes Image height
bytes bytes Yes Binary data, file content

Type: PhotoSize

Example:

$photoCachedSize = ['_' => 'photoCachedSize', 'type' => 'string', 'location' => FileLocation, 'w' => int, 'h' => int, 'bytes' => 'bytes'];

Or, if you’re into Lua:

photoCachedSize={_='photoCachedSize', type='string', location=FileLocation, w=int, h=int, bytes='bytes'}

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