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:

PropertyDatatypeDescription
chatidStringID of the chat
questionStringThe question with which the chat was initiated
attenderNameStringName of the chat attender
attenderEmailStringEmail of the chat attender
attenderIdStringID of the chat attender
departmentNameStringName of the department to which the chat is associated
feedbackStringFeedback provided for the chat
lastMessageStringLast message in the chat
statusStringThe status of the chat
ratingStringRating given for the chat
unreadCountintUnread message count for the chat
isBotAttenderBooleanFlag to check if the chat is last attended by a bot
lastMessageSenderStringName of the last message sender
lastMessageTimelongTime of the last message in chat
queuePositionintPosition of the chat in the current queue
Note: The queue position is 0 if the chat is not queued.