Interface RcsOpenUrlAction.Builder

  • Method Details

    • text

      The display text of the action. Maximum 25 characters.

      Parameters:
      text - The display text of the action. Maximum 25 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • postbackData

      RcsOpenUrlAction.Builder postbackData(String postbackData)

      The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.

      Parameters:
      postbackData - The postback data sent to your webhook when the user taps this action. Maximum 2048 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • url

      The URL to open. Must start with https://. Maximum 2048 characters.

      Parameters:
      url - The URL to open. Must start with https://. Maximum 2048 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • application

      RcsOpenUrlAction.Builder application(String application)

      How to open the URL. BROWSER opens in the device's default browser. WEBVIEW opens in an in-app webview.

      Parameters:
      application - How to open the URL. BROWSER opens in the device's default browser. WEBVIEW opens in an in-app webview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • webviewViewMode

      RcsOpenUrlAction.Builder webviewViewMode(String webviewViewMode)

      The display mode of the webview. Valid values are FULL, HALF, and TALL. Only applicable when Application is WEBVIEW.

      Parameters:
      webviewViewMode - The display mode of the webview. Valid values are FULL, HALF, and TALL. Only applicable when Application is WEBVIEW.
      Returns:
      Returns a reference to this object so that method calls can be chained together.