public abstract class IncomingMessage extends Object implements Serializable
MessageEnvelope.| Modifier and Type | Field and Description |
|---|---|
protected List<Attachment> |
attachments
Attachments of the message.
|
protected QuickReply |
quickReply
Optional custom data provided by the sending app.
|
protected String |
text
Text message.
|
| Constructor and Description |
|---|
IncomingMessage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Attachment> |
getAttachments()
Gets the
attachments. |
QuickReply |
getQuickReply()
Gets the
quickReply. |
String |
getText()
Gets the
text. |
int |
hashCode() |
void |
setAttachments(List<Attachment> attachments)
Sets the
attachments. |
void |
setQuickReply(QuickReply quickReply)
Sets the
quickReply. |
void |
setText(String text)
Sets the
text. |
String |
toString() |
protected String text
protected List<Attachment> attachments
protected QuickReply quickReply
public List<Attachment> getAttachments()
attachments.attachments.public void setAttachments(List<Attachment> attachments)
attachments.attachments - the attachments to set.public QuickReply getQuickReply()
quickReply.quickReply.public void setQuickReply(QuickReply quickReply)
quickReply.quickReply - the quickReply to set.Copyright © 2017 BotMill. All rights reserved.