Interface RcsShowLocationAction.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

      RcsShowLocationAction.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.
    • latitude

      The latitude of the location. Valid values are -90 to 90.

      Parameters:
      latitude - The latitude of the location. Valid values are -90 to 90.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • longitude

      RcsShowLocationAction.Builder longitude(Double longitude)

      The longitude of the location. Valid values are -180 to 180.

      Parameters:
      longitude - The longitude of the location. Valid values are -180 to 180.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • label

      An optional label for the location pin. Maximum 100 characters.

      Parameters:
      label - An optional label for the location pin. Maximum 100 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.