public class WhatsAppTextMessage extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_CALLBACK_DATA |
static String |
SERIALIZED_NAME_CONTENT |
static String |
SERIALIZED_NAME_FROM |
static String |
SERIALIZED_NAME_MESSAGE_ID |
static String |
SERIALIZED_NAME_TO |
| Constructor and Description |
|---|
WhatsAppTextMessage() |
| Modifier and Type | Method and Description |
|---|---|
WhatsAppTextMessage |
callbackData(String callbackData) |
WhatsAppTextMessage |
content(WhatsAppTextContent content) |
boolean |
equals(Object o) |
WhatsAppTextMessage |
from(String from) |
String |
getCallbackData()
Custom client data that will be included in a [Delivery
Report](#channels/whatsapp/receive-whatsapp-delivery-reports).
|
WhatsAppTextContent |
getContent()
Get content
|
String |
getFrom()
Registered WhatsApp sender number.
|
String |
getMessageId()
The ID that uniquely identifies the message sent.
|
String |
getTo()
Message recipient number.
|
int |
hashCode() |
WhatsAppTextMessage |
messageId(String messageId) |
void |
setCallbackData(String callbackData) |
void |
setContent(WhatsAppTextContent content) |
void |
setFrom(String from) |
void |
setMessageId(String messageId) |
void |
setTo(String to) |
WhatsAppTextMessage |
to(String to) |
String |
toString() |
public static final String SERIALIZED_NAME_FROM
public static final String SERIALIZED_NAME_TO
public static final String SERIALIZED_NAME_MESSAGE_ID
public static final String SERIALIZED_NAME_CONTENT
public static final String SERIALIZED_NAME_CALLBACK_DATA
public WhatsAppTextMessage from(String from)
public String getFrom()
public void setFrom(String from)
public WhatsAppTextMessage to(String to)
public String getTo()
public void setTo(String to)
public WhatsAppTextMessage messageId(String messageId)
public String getMessageId()
public void setMessageId(String messageId)
public WhatsAppTextMessage content(WhatsAppTextContent content)
public WhatsAppTextContent getContent()
public void setContent(WhatsAppTextContent content)
public WhatsAppTextMessage callbackData(String callbackData)
public String getCallbackData()
public void setCallbackData(String callbackData)
Copyright © 2022. All rights reserved.