.chat.accepttransfer()
This event handler will be invoked right after an operator accepts a transferred chat request.
PARAMETERS
- visitid: Unique ID generated for the chat.
- data: Chat session information.
- attendeename: Name of the operator who accepts the transferred chat.
- attendeeemail: Email id of the operator accepting the chat.
- department: Department of the operator accepting the chat.
- visitid: Unique ID generated for the chat.
Syntax
Copied$zoho.salesiq.chat.accepttransfer(function(visitid,data){});
"visitid" : "<Visitor id>","data" :
{
"attendername" : "<name of the user who accept the transferred chat>",
"attenderemail" : "<email id of the user accepting the chat>",
"department" : "<department of the user accepting the chat>",
"visitid" : "<visitor id>"
}
Example
Copied<script>
$zoho.salesiq.ready=function()
{
$zoho.salesiq.chat.accepttransfer(function(visitid,data)
{
TrackinMyApplication(data.attendername,data.attenderemail,data.department,data.visitid);
});
}
</script>