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 |
|---|---|
QuickReplyType |
getContentType()
Gets the content type.
|
String |
getImageUrl()
Gets the image url.
|
String |
getPayload()
Gets the payload.
|
String |
getTitle()
Gets the title.
|
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.
|
public QuickReply(String title, String payload)
title - the titlepayload - the payloadpublic QuickReply(String title, String payload, String imageUrl)
title - payload - imageUrl - public QuickReply(String locationMessage)
locationMessage - public 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 © 2016 BotMill. All rights reserved.