public class EchoMessage extends Message
- Text message - Message with image, audio, video or file attachment - Message with template attachment - Message with fallback attachment (any unrecognized or unsupported attachment)
quickReplies| Constructor and Description |
|---|
EchoMessage() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppId()
Gets the
appId. |
List<Attachment> |
getAttachments()
Gets the
attachments. |
String |
getMetadata()
Gets the
metadata. |
String |
getMid()
Gets the
mid. |
String |
getSeq()
Gets the
seq. |
String |
getText()
Gets the
text. |
boolean |
isEcho()
Checks if is echo.
|
void |
setAppId(String appId)
Sets the
appId. |
void |
setAttachments(List<Attachment> attachments)
Sets the
attachments. |
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. |
void |
setText(String text)
Sets the
text. |
getQuickReplies, setQuickRepliespublic 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 List<Attachment> getAttachments()
attachments.attachments.public void setAttachments(List<Attachment> attachments)
attachments.attachments - the attachments to set.Copyright © 2016 BotMill. All rights reserved.