DocumentAttributeImageSize

class pyrogram.raw.types.DocumentAttributeImageSize

Defines the width and height of an image uploaded as document

Constructor of DocumentAttribute.

Details:
  • Layer: 223

  • ID: 6C37C15C

Parameters:
  • w (int 32-bit) – Width of image

  • h (int 32-bit) – Height of image

TL Schema

documentAttributeImageSize#6c37c15c
w:int
h:int

= DocumentAttribute

Parameter Tree

DocumentAttributeImageSize
├── wint
└── hint

Example

DocumentAttributeImageSize(
    w=0,
    h=0,
)