public class QuickReply extends Object implements Serializable
| Constructor and Description |
|---|
QuickReply(String locationMessage)
Instantiates a new location quick reply.
|
QuickReply(String title,
String payload)
Instantiates a new quick reply.
|
QuickReply(String title,
String payload,
String imageUrl)
Instantiates a new quick reply with the following parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
QuickReplyType |
getContentType()
Gets the content type.
|
String |
getImageUrl()
Gets the image url.
|
String |
getPayload()
Gets the payload.
|
String |
getTitle()
Gets the title.
|
int |
hashCode() |
void |
setContentType(QuickReplyType contentType)
Sets the content type.
|
void |
setImageUrl(String imageUrl)
Sets the image url.
|
void |
setPayload(String payload)
Sets the payload.
|
void |
setTitle(String title)
Sets the title.
|
String |
toString() |
public QuickReply(String title, String payload)
title - the title of the quick reply payloadpayload - the payload itselfpublic QuickReply(String title, String payload, String imageUrl)
title - the title of the quick reply payloadpayload - the payload itselfimageUrl - the url of the image that needs to be shown along within this
quick replypublic QuickReply(String locationMessage)
locationMessage - the location textpublic String getPayload()
public void setPayload(String payload)
payload - the new payloadpublic QuickReplyType getContentType()
public void setContentType(QuickReplyType contentType)
contentType - the new content typepublic String getTitle()
public void setTitle(String title)
title - the new titlepublic String getImageUrl()
public void setImageUrl(String imageUrl)
imageUrl - the new image urlCopyright © 2017 BotMill. All rights reserved.