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

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

PWRTelegram json-encoded version:

{"_": "documentAttributeImageSize", "w": int, "h": int}

Or, if you're into Lua:

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