Chat.getList ()
This API is used to get a list of all the conversations of a visitor. This API returns an array of VisitorChat objects.
Parameters:
Name | Description |
conversationType | The type of chat that is required |
conversationListener | Callback listener to listen to success and error callbacks |
ConversationType | Description |
ConversationType.OPEN | List of all open chats |
ConversationType.WAITING | List of all chats that are yet to be picked up by an operator |
ConversationType.CONNECTED | List of chats connected to an operator |
ConversationType.CLOSED | List of all closed chats |
ConversationType.MISSED | List of all missed chats |
ConversationType.ENDED | A combined list of all missed and closed chats |
Error Codes:
Codes | Message |
600 | no network connection |
605 | mobilisten disabled |
609 | salesIQ api exception |