MadelineProtoDocs/docs/API_docs/constructors/documentAttributeImageSize.md

791 B

title description image
documentAttributeImageSize Document attribute image size https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: documentAttributeImageSize

Back to constructors index

Document attribute image size

Attributes:

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

Type: DocumentAttribute

Example:

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

Or, if you're into Lua:

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