.startChat()
(Last Updated On: March 22, 2017)
Overview

Start a chat session and send a manually defined message to the Visitor.

Note: In most cases, using .startLink() is preferable. In some very specific use cases, .openProactiveChat() would work as well.


Parameters


msg
Type
String | (Required)
Description
A string containing the first chat message to be sent to the Visitor when this function fires.
Example: SnapEngage.startChat(“Hey there, what can I do for you?”)