Package com.whatsapp.api.domain.messages
Class Body
java.lang.Object
com.whatsapp.api.domain.messages.Body
An object with the body of the message.
The body object contains the following field:
- text: Required if body is present - The content of the message. Emojis and markdown are supported. Maximum length: 1024 characters
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
text
The Text.
-
-
Constructor Details
-
Body
public Body()
-
-
Method Details
-
getText
Gets text.- Returns:
- the text
-
setText
Sets text.- Parameters:
text
- the text- Returns:
- the text
-