public class FeedTemplate extends Object implements TemplateParams
Modifier and Type | Class and Description |
---|---|
static class |
FeedTemplate.Builder
Class for building feed templates.
|
Modifier and Type | Method and Description |
---|---|
List<ButtonObject> |
getButtons() |
ContentObject |
getContentObject() |
String |
getObjectType()
Template type such as FEED, LIST, etc.
|
SocialObject |
getSocial() |
static FeedTemplate.Builder |
newBuilder(ContentObject contentObject) |
org.json.JSONObject |
toJSONObject()
Any message type should be converted to JSONObject before they are validated or sent to
KakaoTalk.
|
public List<ButtonObject> getButtons()
public ContentObject getContentObject()
public String getObjectType()
TemplateParams
getObjectType
in interface TemplateParams
public SocialObject getSocial()
public static FeedTemplate.Builder newBuilder(ContentObject contentObject)
public org.json.JSONObject toJSONObject()
TemplateParams
toJSONObject
in interface TemplateParams