-
The phone number associated with the action.
Declaration
Swift
public var phone: String?
-
If the action consists of an image, pass the URL of the image. Otherwise, pass an empty string"“.
Declaration
Swift
public var imageUrl: String
-
The string to be displayed for the action.
Declaration
Swift
public var label: String
-
The channel custom properties associated with the action.
Declaration
Swift
public private(set) var channelExtensions: [String : AnyObject]? { get }
-
The constructor for initializing a BotsLocationAction object.
Declaration
Swift
public init(imageUrl: String, label: String, phoneNumber: String)
Parameters
imageUrl
The image url if the action consists of an image, otherwise pass an empty string “”.
label
The string to be displayed for the action.
phoneNumber
The phone number associated with the action.