public class EPChatConversation
This object represents a chat conversation in which a bot will run.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
botUuid
The uuid of the currently played bot.
|
Constructor and Description |
---|
EPChatConversation()
This object represents a chat conversation in which a bot will run.
|
EPChatConversation(java.lang.String botUuid,
java.lang.String chatConversationId,
java.util.List<co.eightysixpercent.bot.model.EPContextObject> initialContext)
Intializes a new chat conversation for the given bot UUID.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAvatarBase64()
The base64 data of the current bot avatar image.
|
java.lang.String |
getAvatarUrl()
The url of the current bot avatar image.
|
java.lang.String |
getBotUuid()
The uuid of the currently played bot.
|
java.lang.String |
getId()
The id of the chat conversation.
|
java.lang.String |
getLanguageCode()
The current chat conversation language code. It is used to determine the language used by the bot.
|
java.util.Date |
getUpdatedAt()
The last date at which the chat conversation was modified.
|
void |
setAvatarBase64(java.lang.String p)
The base64 data of the current bot avatar image.
|
void |
setAvatarUrl(java.lang.String p)
The url of the current bot avatar image.
|
void |
setBotUuid(java.lang.String p)
The uuid of the currently played bot.
|
void |
setId(java.lang.String p)
The id of the chat conversation.
|
void |
setLanguageCode(java.lang.String p)
The current chat conversation language code. It is used to determine the language used by the bot.
|
void |
setUpdatedAt(java.util.Date p)
The last date at which the chat conversation was modified.
|
public EPChatConversation()
This object represents a chat conversation in which a bot will run.
public EPChatConversation(java.lang.String botUuid, java.lang.String chatConversationId, java.util.List<co.eightysixpercent.bot.model.EPContextObject> initialContext)
Intializes a new chat conversation for the given bot UUID.
botUuid
- The bot UUID to use with this chat conversation.chatConversationId
- A specific id to be able to retrieve the chat conversation later. (optional)initialContext
- An array of context objects to use as the initial chat conversation context. (optional)public java.lang.String getId()
The id of the chat conversation.
public void setId(java.lang.String p)
The id of the chat conversation.
public java.lang.String getAvatarUrl()
The url of the current bot avatar image.
public void setAvatarUrl(java.lang.String p)
The url of the current bot avatar image.
public java.lang.String getAvatarBase64()
The base64 data of the current bot avatar image.
public void setAvatarBase64(java.lang.String p)
The base64 data of the current bot avatar image.
public java.lang.String getBotUuid()
The uuid of the currently played bot.
public void setBotUuid(java.lang.String p)
The uuid of the currently played bot.
public java.lang.String getLanguageCode()
The current chat conversation language code. It is used to determine the language used by the bot.
public void setLanguageCode(java.lang.String p)
The current chat conversation language code. It is used to determine the language used by the bot.
public java.util.Date getUpdatedAt()
The last date at which the chat conversation was modified.
public void setUpdatedAt(java.util.Date p)
The last date at which the chat conversation was modified.