Chat
The Mobilisten Flutter 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 | SIQChatType | The status of the chat |
| rating | String | Rating provided for the chat |
| unreadCount | int | Unread message count for the chat |
| isBotAttender | Bool | Flag to check if the last chat was attended by a bot |
| lastMessageSender | String | Name of the last message sender |
| lastMessageTime | DateTime | Time of the last message in chat |
| queuePosition | int | Position of the chat in current queue |