Package com.whatsapp.api.domain.messages
Class ButtonTextParameter
java.lang.Object
com.whatsapp.api.domain.messages.Parameter
com.whatsapp.api.domain.messages.ButtonTextParameter
The type Button text parameter.
Required for URL buttons.
Developer-provided suffix that is appended to the predefined prefix URL in the template.
- See Also:
-
Constructor Summary
ConstructorDescriptionInstantiates a new Button text parameter.ButtonTextParameter
(String text) Instantiates a new Button text parameter. -
Method Summary
-
Constructor Details
-
ButtonTextParameter
public ButtonTextParameter()Instantiates a new Button text parameter. -
ButtonTextParameter
Instantiates a new Button text parameter.- Parameters:
text
- the text. Required for URL buttons. Developer-provided suffix that is appended to the predefined prefix URL in the template.
-
-
Method Details
-
getText
Gets text.- Returns:
- the text
-
setText
Sets text.- Parameters:
text
- the text. Required for URL buttons. Developer-provided suffix that is appended to the predefined prefix URL in the template.- Returns:
- the text
-