CardMessageData
public protocol CardMessageData
Protocol describing a card
-
ID
Declaration
Swift
var id: String { get } -
Picture
Declaration
Swift
var featuredImage: MediaItem? { get } -
Header
Declaration
Swift
var cardHeader: HeaderMessageData? { get } -
List of actions
Declaration
Swift
var cardButtons: [PostbackData]? { get } -
List of attributes
Declaration
Swift
var cardSections: [UIModelDataSection]? { get }