Modifier and Type | Method and Description |
---|---|
void |
sendIsTypingRequest()
Sends an IsTyping request to the customer client
|
void |
sendMessage(java.lang.String message,
boolean isWhisper)
In a webchat session, agents send messages to customers and other agents using this method
|
void |
sendPagePushUrl(java.lang.String url)
In a webchat session, agents can sends a URL to customers and other agents using this method.
|
getContactType, getId, toJsonStringMaskSensitive
void sendMessage(java.lang.String message, boolean isWhisper) throws ObjectInvalidException
message
- The text message sent by the agent to the other party(s) in the conversationisWhisper
- Utilised in Agent-Agent communications in a Conference. If isWhisper is true,
the Customer won't get this messageObjectInvalidException
- if the WebChatMediaI
object has been deletedvoid sendIsTypingRequest() throws ObjectInvalidException
ObjectInvalidException
- if the WebChatMediaI
object has been deletedvoid sendPagePushUrl(java.lang.String url) throws ObjectInvalidException
url
- the url to be sent to customersObjectInvalidException
- if the WebChatMediaI
object has been deleted