Layer 224
constructor
photoSize#75c78e60 type:string w:int h:int size:int = PhotoSize;

Parameters

Name Type Description
Type string Thumbnail type
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,
}