public class WhatsAppTextContent extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_PREVIEW_URL |
static String |
SERIALIZED_NAME_TEXT |
| Constructor and Description |
|---|
WhatsAppTextContent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Boolean |
getPreviewUrl()
Allows for URL preview from within the message.
|
String |
getText()
Content of the message being sent.
|
int |
hashCode() |
WhatsAppTextContent |
previewUrl(Boolean previewUrl) |
void |
setPreviewUrl(Boolean previewUrl) |
void |
setText(String text) |
WhatsAppTextContent |
text(String text) |
String |
toString() |
public static final String SERIALIZED_NAME_TEXT
public static final String SERIALIZED_NAME_PREVIEW_URL
public WhatsAppTextContent text(String text)
public String getText()
public void setText(String text)
public WhatsAppTextContent previewUrl(Boolean previewUrl)
public Boolean getPreviewUrl()
public void setPreviewUrl(Boolean previewUrl)
Copyright © 2022. All rights reserved.