ObjectMessageData

public protocol ObjectMessageData : CardMessageData

Protocol describing the content of an object card

  • id

    ID

    Declaration

    Swift

    var id: String { get }
  • Headline. Main text.

    Declaration

    Swift

    var headline: String? { get }
  • Subheadline. Secondary text.

    Declaration

    Swift

    var subheadline: String? { get }
  • Footnote. Tertiary text.

    Declaration

    Swift

    var footnote: String? { get }
  • Top right status.

    Declaration

    Swift

    var status: ValueData? { get }
  • Top right substatus.

    Declaration

    Swift

    var substatus: String? { get }
  • Specifies whether there is an image with this card

    Declaration

    Swift

    var hasImage: Bool { get }
  • URL of the image. Ignored if hasImage is false.

    Declaration

    Swift

    var imageUrl: String? { get }
  • List of actions for this card

    Declaration

    Swift

    var objectButtons: [PostbackData]? { get }
  • List of sections for this card

    Declaration

    Swift

    var objectSections: [ObjectSectionData]? { get }