.setRatingVisibility()
This API allows you to enable or disable the option to receive user rating after ending a support chat.
Note: This is applicable only when the option to receive a rating is enabled in portal settings.
Example
CopiedZohoSalesIQ.setRatingVisibility(true);