public interface ChatBot
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAvailableLanguages()
Returns available languages
|
String |
getAvatarRendererKey()
Get avatar renderer
|
String |
getAvatarUrl()
The image URL of the bot's avatar
|
String |
getDescription(Locale locale)
Gets the bot description
|
String |
getKey()
Get the bot ID
|
String |
getName(Locale locale)
Gets the bot name
|
String |
getWelcomeMessage()
The welcome message
|
boolean |
isStandalone()
Is standalone (mode for iframe)
|
List<BotPost> |
processUserMessage(String strMessage,
String strConversationId,
Locale locale)
Process the user message
|
void |
reset(String strConversationId)
Reset the conversation
|
String getKey()
String getName(Locale locale)
locale - The localeString getDescription(Locale locale)
locale - The localeList<BotPost> processUserMessage(String strMessage, String strConversationId, Locale locale)
strMessage - The user messagestrConversationId - The conversation IDlocale - The localeList<String> getAvailableLanguages()
String getAvatarUrl()
boolean isStandalone()
String getWelcomeMessage()
void reset(String strConversationId)
strConversationId - The conversation IDString getAvatarRendererKey()
Copyright © 2019 City of Paris. All rights reserved.