Class Reply

java.lang.Object
com.whatsapp.api.domain.messages.Reply

public class Reply extends Object

Use when button is of type reply

  • id: Unique identifier for your button. This ID is returned in the webhook when the button is clicked by the user. Maximum length: 256 characters.
  • title: Button title. It cannot be an empty string and must be unique within the message. Emojis are supported, markdown is not. Maximum length: 20 characters.
  • Field Details

    • id

      public String id
      The Id.
    • title

      public String title
      The Title.
  • Constructor Details

    • Reply

      public Reply()
  • Method Details

    • getId

      public String getId()
      Gets id.
      Returns:
      the id
    • setId

      public Reply setId(String id)
      Sets id.
      Parameters:
      id - the id
      Returns:
      the id
    • getTitle

      public String getTitle()
      Gets title.
      Returns:
      the title
    • setTitle

      public Reply setTitle(String title)
      Sets title.
      Parameters:
      title - the title
      Returns:
      the title