.Chat.setVisibility()

This API lets you toggle the function of various components in Mobilisten.

ChatComponentFunctionDefault Setting
agent

Used to enable/disable agent's profile image in chat window.

enabled
agentPhotoOnChatIcon

Used to enable/disable the display of the agent's profile picture on the launcher

disabled

mediaCapture

Used to enable/disable taking photos and videos from the add attachments menu from chat.enabled

photoLibrary

Used to enable/disable the option to access the photo library to send images and videos in chat.

enabled
screenshot

Used to enable/disable the ability to take screenshots from the add attachments menu.

enabled
inappnotifications

Used to enable/disable in-app notifications when a new message is recieved in chat.

enabled
emailTranscript

Used to enable/disable the option to request for an email transcript for a chat.

enabled
rating

Used to enable/disable the option to rate a chat after it is ended.

enabled

feedback

Used to enable/disable the option to give feedback after a chat is ended.

enabled

Usage:

CopiedZohoSalesIQ.Chat.setVisibility(.mediaCapture, visible: true)