CPTextPart

@objc
public class CPTextPart : CPMessagePart

Represents the text part of a message.

  • Text of the message

    Declaration

    Swift

    @objc
    public internal(set) var text: String { get }
  • Initializes the object with some text.

    Declaration

    Swift

    @objc
    public init(withText: String)

    Parameters

    withText

    Text message.