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

    content

    Content of the HTML string.

    characterSet

    Charater encoding set should be used.

    alternative

    Whether this HTML could be alternative for plain text.