Class TextParameter

java.lang.Object
com.whatsapp.api.domain.messages.Parameter
com.whatsapp.api.domain.messages.TextParameter

public class TextParameter extends Parameter
The type Text parameter. Required for URL buttons. Developer-provided suffix that is appended to the predefined prefix URL in the template.
  • Constructor Details

    • TextParameter

      public TextParameter(String text)
      Instantiates a new Text parameter.
      Parameters:
      text - the text
  • Method Details

    • getText

      public String getText()
      Gets text.
      Returns:
      the text