public interface ChatApi extends ChatApiCommands
This interface describes available communication and configuration APIs for a given chat session.
Modifier and Type | Method and Description |
---|---|
ChatApiConfig |
getConfig()
Gets chat config for the current chat session as configured via
ZopimChatApi |
boolean |
hasEnded()
Tells if this chat session has ended and can not be continued.
|
void |
resetTimeout()
Resets chat timeout.
|
addNote, emailTranscript, endChat, resend, send, send, sendChatComment, sendChatRating, sendOfflineMessage, setDepartment, setEmail, setName, setNote, setPhoneNumber
@NonNull ChatApiConfig getConfig()
ZopimChatApi
It will reflect ZopimChatApi.DefaultConfig
configuration values unless overridden via ZopimChatApi.SessionConfig
at chat start.
boolean hasEnded()
void resetTimeout()
ZopimChatApi.DefaultConfig.sessionTimeout(long)
.