Chat.setVisibility()

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

Note:
The settings for the components are taken into consideration only if their function is enabled in portal settings.

ChatComponentFunctionDefault Setting

OperatorImage

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

Screenshot

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

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

Syntax:

CopiedZohoSalesIQ.Chat.setVisibility(ChatComponent component,boolean visibility)

Example 1: Operator profile picture

CopiedZohoSalesIQ.Chat.setVisibility(ChatComponent.OperatorImage,true)