Layer 220
constructor
photoCachedSize#21e1ad6 type:string w:int h:int bytes:bytes = PhotoSize;

Parameters

Name Type Description
Type string Thumbnail type
W int Image width
H int Image height
Bytes bytes Binary data, file content

Returns

PhotoSize

Gogram Example

// Creating PhotoCachedSize constructor
obj := &tg.PhotoCachedSize{
    Type: "...",
    W: 0,
    H: 0,
    Bytes: []byte{},
}