Layer 220
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 PhotoSize constructor
obj := &tg.PhotoSize{
    Type: "...",
    W: 0,
    H: 0,
    Size: 0,
}