BotsMessage
public protocol BotsMessage
The protocol to which all bots message classes conform.
-
The list of all actions in the skill’s message.
Declaration
Swift
var actions: [BotsAction]? { get }
-
The list of all global actions in the skill’s message.
Declaration
Swift
var globalActions: [BotsAction]? { get }
-
The date and timestamp of skill’s message.
Declaration
Swift
var date: Date { get }
-
True if the message is read, else false.
Declaration
Swift
var isRead: Bool { get }
-
The payload json object for the particular message.
Declaration
Swift
var payload: [String : Any]? { get }
-
The source of the message. Either MessageType.bot or MessageType.agent
Declaration
Swift
var messageSource: MessageType { get }
-
The header text associated with the skill’s message.
Declaration
Swift
var headerText: String? { get }
-
The footer text associated with the skill’s message.
Declaration
Swift
var footerText: String? { get }
-
The channel custom properties associated with the skill’s message.
Declaration
Swift
var channelExtensions: [String : AnyObject]? { get }