-
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
typeThumbnail type (see https://core.telegram.org/constructor/photoSize)
photoInformation about the photo file
widthPhoto width
heightPhoto height
View on GitHub
Install in Dash
PhotoSize Structure Reference