public class WhatsAppAudioMessage 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 |
|---|
WhatsAppAudioMessage() |
| Modifier and Type | Method and Description |
|---|---|
WhatsAppAudioMessage |
callbackData(String callbackData) |
WhatsAppAudioMessage |
content(WhatsAppAudioContent content) |
boolean |
equals(Object o) |
WhatsAppAudioMessage |
from(String from) |
String |
getCallbackData()
Custom client data that will be included in a [Delivery
Report](#channels/whatsapp/receive-whatsapp-delivery-reports).
|
WhatsAppAudioContent |
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() |
WhatsAppAudioMessage |
messageId(String messageId) |
void |
setCallbackData(String callbackData) |
void |
setContent(WhatsAppAudioContent content) |
void |
setFrom(String from) |
void |
setMessageId(String messageId) |
void |
setTo(String to) |
WhatsAppAudioMessage |
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 WhatsAppAudioMessage from(String from)
public String getFrom()
public void setFrom(String from)
public WhatsAppAudioMessage to(String to)
public String getTo()
public void setTo(String to)
public WhatsAppAudioMessage messageId(String messageId)
public String getMessageId()
public void setMessageId(String messageId)
public WhatsAppAudioMessage content(WhatsAppAudioContent content)
public WhatsAppAudioContent getContent()
public void setContent(WhatsAppAudioContent content)
public WhatsAppAudioMessage callbackData(String callbackData)
public String getCallbackData()
public void setCallbackData(String callbackData)
Copyright © 2022. All rights reserved.