UIModelDataContent
public struct UIModelDataContent : Decodable
extension UIModelDataContent: ObjectMessageData
extension UIModelDataContent: CarouselItemMessageData, CardMessageData
Holds the content for a specific UIModelData. Properties will be filled based on UIModelData type.
-
Required by ObjectMessageData. Generated GUID on client-side. Read-only.
Declaration
Swift
public let id: String -
Undocumented
Declaration
Swift
public var text: String? -
Undocumented
Declaration
Swift
public var total: Int? -
Undocumented
Declaration
Swift
public var upperBoundText: String? -
Undocumented
Declaration
Swift
public var list: [UIModelDataContent]? -
Undocumented
Declaration
Swift
public var form: [UIModelDataValue]? -
Undocumented
Declaration
Swift
public var picture: UIModelDataMedia? -
Undocumented
Declaration
Swift
public var video: UIModelDataMedia? -
Undocumented
Declaration
Swift
public var header: UIModelDataHeader? -
Undocumented
Declaration
Swift
public var buttons: [UIModelDataAction]? -
Undocumented
Declaration
Swift
public var sections: [UIModelDataSection]? -
Undocumented
Declaration
Swift
public var carousel: [UIModelDataContent]? -
removed elements where label/value are nil
Declaration
Swift
public var filteredForm: [UIModelDataValue]? { get } -
Undocumented
Declaration
Swift
public init() -
Declaration
Swift
public init(from decoder: Decoder) throws
-
Declaration
Swift
public var headline: String? { get } -
Declaration
Swift
public var subheadline: String? { get } -
Declaration
Swift
public var footnote: String? { get } -
Declaration
Swift
public var status: ValueData? { get } -
Declaration
Swift
public var substatus: String? { get } -
Declaration
Swift
public var hasImage: Bool { get } -
Declaration
Swift
public var imageUrl: String? { get } -
Declaration
Swift
public var objectSections: [ObjectSectionData]? { get } -
Declaration
Swift
public var objectButtons: [PostbackData]? { get } -
Declaration
Swift
public var featuredImage: MediaItem? { get } -
Declaration
Swift
public var cardHeader: HeaderMessageData? { get } -
Declaration
Swift
public var cardButtons: [PostbackData]? { get } -
Declaration
Swift
public var cardSections: [UIModelDataSection]? { get }