public class BotInstance extends Object implements fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
Constructor and Description |
---|
BotInstance(RecastBot bot)
Constructor
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAvailableLanguages() |
String |
getAvatarUrl() |
String |
getDescription(Locale locale) |
String |
getKey() |
String |
getName(Locale locale) |
String |
getWelcomeMessage()
Returns the WelcomeMessage
|
boolean |
isStandalone() |
List<fr.paris.lutece.plugins.chatbot.business.BotPost> |
processUserMessage(String strMessage,
String strConversationId,
Locale locale) |
void |
setStandalone(boolean bStandalone)
Sets the Standalone
|
void |
setWelcomeMessage(String strWelcomeMessage)
Sets the WelcomeMessage
|
public BotInstance(RecastBot bot)
bot
- The Recast bot datapublic String getKey()
getKey
in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
public String getName(Locale locale)
getName
in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
public String getDescription(Locale locale)
getDescription
in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
public List<String> getAvailableLanguages()
getAvailableLanguages
in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
public String getAvatarUrl()
getAvatarUrl
in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
public List<fr.paris.lutece.plugins.chatbot.business.BotPost> processUserMessage(String strMessage, String strConversationId, Locale locale)
processUserMessage
in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
public boolean isStandalone()
isStandalone
in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
public void setStandalone(boolean bStandalone)
bStandalone
- The Standalonepublic String getWelcomeMessage()
getWelcomeMessage
in interface fr.paris.lutece.plugins.chatbot.service.bot.ChatBot
public void setWelcomeMessage(String strWelcomeMessage)
strWelcomeMessage
- The WelcomeMessageCopyright © 2017 City of Paris. All rights reserved.