Thumbnail
public struct Thumbnail
A data type represents a thumbnail for this remote file.
The thumbnail typically is an image file which provides preview of the remote file without downloading.
The content of the thumbnail can be downloaded via MessageClient.downloadThumbnail(...).
Since
1.4.0-
The width of the thumbnail.
Declaration
Swift
public var width: Int? -
The height of the thumbnail.
Declaration
Swift
public var height: Int? -
The MIME type of the thumbnail file.
Declaration
Swift
public var mimeType: String? -
The url of the thumbnail.
Declaration
Swift
public var url: String? -
Thumbnail constructor.
Since
3.2.0Declaration
Swift
public init(height: Int?, width: Int?, mimeType: String?, url: String?)Parameters
heightThe height of the thumbnail.
widthThe width of the thumbnail.
mimeTypeThe MIME type of the thumbnail.
urlThe url for the thumbnail.
View on GitHub