BotsFormMessage

public class BotsFormMessage : BotsMessage
  • The header text associated with the skill’s message.

    Declaration

    Swift

    public private(set) var headerText: String? { get }
  • The footer text associated with the skill’s message.

    Declaration

    Swift

    public private(set) var footerText: String? { get }
  • Declaration

    Swift

    public var actions: [BotsAction]?
  • Declaration

    Swift

    public var globalActions: [BotsAction]?
  • Declaration

    Swift

    public private(set) var date: Date { get }
  • Declaration

    Swift

    public private(set) var isRead: Bool { get }
  • Declaration

    Swift

    public private(set) var payload: [String : Any]? { get }
  • Declaration

    Swift

    public private(set) var messageSource: MessageType { get }
  • Declaration

    Swift

    public var messageType: String
  • Declaration

    Swift

    public private(set) var formLayout: BotsFormMessagePayload? { get }
  • Declaration

    Swift

    public private(set) var channelExtensions: [String : AnyObject]? { get }
  • The constructor for initializing a BotsFormMessage object.

    Declaration

    Swift

    public init(payload: [String : AnyObject], source: String = "BOT")

    Parameters

    payload

    The message payload as a json object.