.Chat.setMessage()
This API lets you configure pre-defined default messages that are to be displayed in the chat window.
Note:
The messages set using this API would override the messages set in portal settings allowing you to localise the content to be displayed.
MessageType | Description |
chatWaiting | Message displayed as the title when a chat is in waiting state |
chatCompleted | Message displayed when a chat is completed |
chatMissed | Message displayed when a chat is missed |
ratingCompleted | Message displayed after the user rates the chat |
feedbackCompleted | Message displayed after the user provides feedback after a chat |
ratingAndFeedbackCompleted | Message displayed after a user provides both feedback and rating |
inputQuestionPlaceholder | Placeholder message displayed in the input field while creating a new chat |
inputMessagePlaceholder | Placeholder message displayed in the input field for open chats |
typingIndicatorMessage | Message displayed within the bot typing indicator |
networkWaitingMessage | Waiting for network connection |
Syntax:
Copied
Example
Copied