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 moreDeclaration
Swift
public enum ValueType : String -
Value State
See moreDeclaration
Swift
public enum ValueState : String
-
Declaration
Swift
public var listHeader: HeaderMessageData? { get } -
Declaration
Swift
public var items: [ObjectMessageData] { get } -
Declaration
Swift
public var listButtons: [PostbackData]? { get } -
Declaration
Swift
public var listTotal: Int? { get } -
Declaration
Swift
public var listUpperBoundText: String? { get } -
Declaration
Swift
public var formHeader: HeaderMessageData? { get } -
Declaration
Swift
public var fields: [String : String] { get } -
Declaration
Swift
public var buttonText: String? { get } -
Declaration
Swift
public var buttonsData: [PostbackData]? { get } -
Declaration
Swift
public var carouselItems: [CarouselItemMessageData] { get }