Chat
The Mobilisten React Native SDK provides various chat-associated APIs for the users - to customize their data like name, email, etc., - 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 |
id | 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 last chat was attended by a bot |
lastMessageSender | String | Name of the last message sender |
lastMessageTime | long | Time of the last message in chat |
queuePosition | int | Current Queue Position of the chat |