HTMLProperty
public struct HTMLProperty
Properties when the attachment is an HTML string.
-
Content of the HTML string.
Declaration
Swift
public let content: String -
Charater encoding set should be used.
Declaration
Swift
public let characterSet: String -
Whether this HTML could be alternative for plain text.
Declaration
Swift
public let alternative: Bool -
Initilize an HTML property.
Declaration
Swift
public init(content: String, characterSet: String, alternative: Bool)Parameters
contentContent of the HTML string.
characterSetCharater encoding set should be used.
alternativeWhether this HTML could be alternative for plain text.
View on GitHub
Install in Dash
HTMLProperty Struct Reference