BotsAction

public protocol BotsAction

The protocol to which all action classes conform.

  • If the action consists of an image, pass the URL of the image. Otherwise, pass an empty string"“.

    Declaration

    Swift

    var imageUrl: String { get }
  • The label associated with the action.

    Declaration

    Swift

    var label: String { get }
  • The channel custom properties associated with the action.

    Declaration

    Swift

    var channelExtensions: [String : AnyObject]? { get }