Chat.open()
The ZohoSalesIQ.Chat.open() API is used to open the SDK UI based on the data provided in the notification payload.
- Payload: The data payload obtained from the getPayload API containing information required to identify and open SDK UI.
Syntax
CopiedZohoSalesIQ.Chat.open(payload: OpenChatPayload)
Example
CopiedZohoSalesIQ.Notification.getPayload(remoteMessage.data, (result) => {
ZohoSalesIQ.Chat.open(result.payload)
});