public class EchoMessage extends IncomingMessage
- Text message - Message with image, audio, video or file attachment - Message with template attachment - Message with fallback attachment (any unrecognized or unsupported attachment)
attachments, quickReply, text| Constructor and Description |
|---|
EchoMessage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAppId()
Gets the
appId. |
String |
getMetadata()
Gets the
metadata. |
String |
getMid()
Gets the
mid. |
String |
getSeq()
Gets the
seq. |
int |
hashCode() |
boolean |
isEcho()
Checks if is echo.
|
void |
setAppId(String appId)
Sets the
appId. |
void |
setIsEcho(boolean isEcho)
Sets the
isEcho. |
void |
setMetadata(String metadata)
Sets the
metadata. |
void |
setMid(String mid)
Sets the
mid. |
void |
setSeq(String seq)
Sets the
seq. |
String |
toString() |
getAttachments, getQuickReply, getText, setAttachments, setQuickReply, setTextpublic boolean isEcho()
isEcho.public void setIsEcho(boolean isEcho)
isEcho.isEcho - the isEcho to set.public void setMetadata(String metadata)
metadata.metadata - the metadata to set.public int hashCode()
hashCode in class IncomingMessagepublic boolean equals(Object obj)
equals in class IncomingMessagepublic String toString()
toString in class IncomingMessageCopyright © 2017 BotMill. All rights reserved.