QuickReplyAdvancedReservation

public struct QuickReplyAdvancedReservation : QuickReplyAdvanced

Display a button that opens the reservation system of the reservationType. For an example see:

 curl "https://dev.api.wienbot.wave-ai.com/message?q=reisepass" \
 -H 'Content-Type: application/json'
  • Type of a QuickReplyAdvancedReservation in json is ‘reservation’.

    Declaration

    Swift

    public static var type: QuickReplyAdvancedType
  • Text to show on the button.

    Declaration

    Swift

    public var messageToShow: String
  • The type of reservation system to show.

    Declaration

    Swift

    public let reservationType: ReservationType
  • URL to open in case the client does not support ‘reservation’. Usually a already existing reservation website.

    Declaration

    Swift

    public let fallbackURL: URL?