QuickReply

public struct QuickReply : Codable

Quick replies to be added as quick replies to the answer or to be appended to any quick replies the client may be outputing. For example if the user asks “Wo ist die nächste Bibliothek” (Wave Story), additionalQuickReplies will contain a “Info: Bibilothek” button, that sends “biblothek” and triggers the WienBot story.

  • Message to display on the button.

    Declaration

    Swift

    public var messageToShow: String
  • Message to send to WienBotKitura if tapped. If nil then send messageToShow instead. Optional.

    Declaration

    Swift

    public let messageToSendToServer: String?
  • type is “sendText”, to make migration to QuickReplyAdvanced easier.

    Declaration

    Swift

    public let type: String