QuickReplyAdvancedSendText
public struct QuickReplyAdvancedSendText : QuickReplyAdvanced
Display a button that sends messageToSendToServer. For an example see:
curl "https://dev.api.wienbot.wave-ai.com/message?q=fundamt" \
-H 'Content-Type: application/json'
-
Type of a QuickReplyAdvancedReservation in json is ‘sendText’.
Declaration
Swift
public static var type: QuickReplyAdvancedType -
Text to show on the button.
Declaration
Swift
public var messageToShow: String -
The text to send to WienBotKitura for interpretation, for example “Wie komme ich zum Schwedenplatz”.
Declaration
Swift
public let messageToSendToServer: String -
Not implemented yet** If set, the quick reply will only be sent to this specific WIT model. Useful for ensuring that only this model will provide an answer.
Declaration
Swift
public let restrictToModel: WitModel?
QuickReplyAdvancedSendText Structure Reference