Layer 228
constructor
photoSize#77bfb61b type:string location:FileLocation w:int h:int size:int = PhotoSize;

Parameters

Name Type Description
Type string Photo Size. type value
W int Image width
H int Image height
Size int File size

Returns

PhotoSize

Gogram Example

// Creating PhotoSizeObj constructor
obj := &tg.PhotoSizeObj{
    Type: "example",
    W: 640,
    H: 480,
    Size: 42,
}