-
Thumbnail type (see https://core.telegram.org/constructor/photoSize)
Declaration
Swift
public let type: String
-
Information about the photo file
Declaration
Swift
public let photo: File
-
Photo width
Declaration
Swift
public let width: Int32
-
Photo height
Declaration
Swift
public let height: Int32
-
Photo description
Declaration
Swift
public init(type: String, photo: File, width: Int32, height: Int32)
Parameters
type
Thumbnail type (see https://core.telegram.org/constructor/photoSize)
photo
Information about the photo file
width
Photo width
height
Photo height