No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
initFileTransfer()
Usage
Initiates the process of transferring a file from a customer to an agent. Available in API version 31.0 or later.
Syntax
Arguments
| Name | Type | Description |
|---|---|---|
| chatKey | String | The chat key for the chat the file is transferred from. |
| entityId | String | The ID of the transcript object to attach the transferred file to. |
| callback | function | JavaScript method that is called when the method is completed. |
Sample Code–Visualforce
Response
This method is asynchronous so it returns its response in an object in a callback method. The response object contains the following properties:
| Name | Type | Description |
|---|---|---|
| success | Boolean | true if the request to transfer a file was sent successfully; false if the request wasn’t sent successfully. |