Package cronapi.chatbot
Class ChatBotConfiguration
- java.lang.Object
-
- cronapi.chatbot.ChatBotConfiguration
-
@Configuration @PropertySource(value="classpath:/META-INF/chatbot.json", factory=JsonLoader.class) public class ChatBotConfiguration extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChatBotConfiguration.JsonLoader
-
Field Summary
Fields Modifier and Type Field Description static com.fasterxml.jackson.databind.ObjectMapperOBJECT_MAPPERstatic com.fasterxml.jackson.core.type.TypeReference<List<Carousel>>TYPE_LIST_CAROUSELstatic com.fasterxml.jackson.core.type.TypeReference<List<GroupedButton>>TYPE_LIST_GROUPEDBUTTONstatic com.fasterxml.jackson.core.type.TypeReference<List<LabelUrl>>TYPE_LIST_LABELURLstatic com.fasterxml.jackson.core.type.TypeReference<List<QuickReply>>TYPE_LIST_QUICKREPLY
-
Constructor Summary
Constructors Constructor Description ChatBotConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.watson.assistant.v1.Assistantassistant(String username, String password)com.github.messenger4j.Messengerfacebook(String pageAccessToken, String appSecret, String verifyToken)
-
-
-
Field Detail
-
OBJECT_MAPPER
public static final com.fasterxml.jackson.databind.ObjectMapper OBJECT_MAPPER
-
TYPE_LIST_QUICKREPLY
public static final com.fasterxml.jackson.core.type.TypeReference<List<QuickReply>> TYPE_LIST_QUICKREPLY
-
TYPE_LIST_CAROUSEL
public static final com.fasterxml.jackson.core.type.TypeReference<List<Carousel>> TYPE_LIST_CAROUSEL
-
TYPE_LIST_LABELURL
public static final com.fasterxml.jackson.core.type.TypeReference<List<LabelUrl>> TYPE_LIST_LABELURL
-
TYPE_LIST_GROUPEDBUTTON
public static final com.fasterxml.jackson.core.type.TypeReference<List<GroupedButton>> TYPE_LIST_GROUPEDBUTTON
-
-