Layer 227
constructor
photoSizeProgressive#fa3efb95 type:string w:int h:int sizes:Vector<int> = PhotoSize;

Parameters

Name Type Description
Type string Photo Size. type value
W int Photo width
H int Photo height
Sizes Vector < int > Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image.

Returns

PhotoSize

Gogram Example

// Creating PhotoSizeProgressive constructor
obj := &tg.PhotoSizeProgressive{
    Type: "Hello, World!",
    W: 42,
    H: 42,
    Sizes: &tg.VectorInt{},
}