Class PhoneNumberButton
java.lang.Object
com.whatsapp.api.domain.templates.Button
com.whatsapp.api.domain.templates.PhoneNumberButton
The type Phone number button.
-
Constructor Summary
ConstructorDescriptionInstantiates a new Phone number button.PhoneNumberButton
(String text, String phoneNumber) Instantiates a new Phone number button. -
Method Summary
Modifier and TypeMethodDescriptionGets phone number.setPhoneNumber
(String phoneNumber) Sets phone number.
-
Constructor Details
-
PhoneNumberButton
Instantiates a new Phone number button.- Parameters:
text
- the text
-
PhoneNumberButton
public PhoneNumberButton()Instantiates a new Phone number button.
-
-
Method Details
-
getPhoneNumber
Gets phone number.- Returns:
- the phone number
-
setPhoneNumber
Sets phone number.- Parameters:
phoneNumber
- the phone number- Returns:
- the phone number
-