UIModelData

public struct UIModelData : Decodable
extension UIModelData: ListMessageData
extension UIModelData: FormMessageData
extension UIModelData: ButtonsMessageData
extension UIModelData: CarouselMessageData

Standard message format returns by CAI platform Raw format parsed as-is from what the backend system returns

  • Undocumented

    Declaration

    Swift

    public var delay: TimeInterval?
  • Header

    Declaration

    Swift

    public var header: UIModelDataHeader?
  • Content

    Declaration

    Swift

    public var content: UIModelDataContent?
  • Details are available or not

    Declaration

    Swift

    public var detailsAvailable: Bool?
  • Button

    Declaration

    Swift

    public var buttons: [UIModelDataAction]?
  • is format in Markdown

    Declaration

    Swift

    public var markdown: Bool?
  • Undocumented

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Read-only convenient access to type property

    Declaration

    Swift

    public var vizType: VisualizationType { get }
  • URL to a media (video) title, subtile or description has to be of type LINK

    Declaration

    Swift

    public var mediaUrl: String? { get }
  • Value Type

    See more

    Declaration

    Swift

    public enum ValueType : String
  • Value State

    See more

    Declaration

    Swift

    public enum ValueState : String

Extensions for UI Message Data protocols