BotsLocationAction

public class BotsLocationAction : BotsAction

Class that represents a location action.

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

    Declaration

    Swift

    public let imageUrl: String
  • The string to be displayed for the action.

    Declaration

    Swift

    public let label: String
  • The latitude value for the location action.

    Declaration

    Swift

    public var latitude: Double?
  • The longitude value for the location action.

    Declaration

    Swift

    public var longitude: Double?
  • The channel custom properties associated with the action.

    Declaration

    Swift

    public private(set) var channelExtensions: [String : AnyObject]? { get }