Layer 228
constructor
photoCachedSize#e9a734fa type:string location:FileLocation w:int h:int bytes:bytes = PhotoSize;

Parameters

Name Type Description
Type string Photo Size. type value
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: "example",
    W: 640,
    H: 480,
    Bytes: []byte{0x01, 0x02, 0x03},
}