Chat
The Mobilisten Android SDK provides various chat-associated APIs for the users - to perform actions like start/end SDK chats from their application, to get the chat lists, and to control the visibility of certain features/views like launcher visibility, operator image visibility, offline message visibility, etc.,
VisitorChat class contains the following properties:
Property | Datatype | Description |
chatid | String | ID of the chat |
question | String | The question with which the chat was initiated |
attenderName | String | Name of the chat attender |
attenderEmail | String | Email of the chat attender |
attenderId | String | ID of the chat attender |
departmentName | String | Name of the department to which the chat is associated |
feedback | String | Feedback provided for the chat |
lastMessage | String | Last message in the chat |
status | String | The status of the chat |
rating | String | Rating given for the chat |
unreadCount | int | Unread message count for the chat |
isBotAttender | Boolean | Flag to check if the chat is last attended by a bot |
lastMessageSender | String | Name of the last message sender |
lastMessageTime | long | Time of the last message in chat |
queuePosition | int | Position of the chat in the current queue Note: The queue position is 0 if the chat is not queued. |