mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
829 B
829 B
title | description | nav_exclude | image |
---|---|---|---|
documentAttributeImageSize | Defines the width and height of an image uploaded as document | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: documentAttributeImageSize
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];