Chat.open()

.Chat.open ()

This API is used to open a specific chat when the chatID is provided. The chatID can be obtained from various APIs including the .Chat.getList() API. If the chatID is not mentioned, a recent chat or a new chat(if no chats are available) will be opened.

Parameters:

NameDescription
chatIDUnique ID of the chat

Syntax:

CopiedZohoSalesIQ.Chat.open(); //opens the recent chat. If no chats are available, then a new chat window will be opened to initiate a new chat
ZohoSalesIQ.Chat.open(chatID);

Example:

CopiedZohoSalesIQ.Chat.open("1001");