Layer 227
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: "Hello, World!",
    W: 42,
    H: 42,
    Size: 42,
}