- Installation
- Push Notifications
- Rest API
- UI Customization
- API Reference
- Zoho SalesIQ
- Launcher
- Conversation
- Chat
- delegate
- start()
- startWithTrigger()
- setWaitingTime()
- get()
- isEnabled
- getList()
- getDepartments()
- fetchAttenderImage()
- show()
- startChat()
- setVisibility()
- setTitle()
- setLanguage()
- setDepartment()
- setAgentEmail
- setMessage()
- showOfflineMessage()
- getUnreadMessageCount()
- endSession()
- clearData()
- showFeedbackAfterSkip()
- hideQueueTime()
- open()
- Chat Actions
- Calls
- Logger
- Visitors
- Visitor Tracking
- Push & VoIP
- In-App Notifications
- Notification
- Knowledge Base
- FAQ
- SDK 2.x
- Chat
- .Chat.startChat()
- .Chat.setVisibility()
- .Chat.setTitle()
- .Chat.setLanguage()
- .Chat.setDepartment()
- .Chat.setAgentEmail()
- .Chat.setThemeColor()
- .Chat.setVisitorImage()
- .Chat.setMessage()
- .Chat.showOfflineMessage()
- .Chat.getUnreadMessageCount()
- .Chat.clearMessages()
- .Chat.setBarColor()
- .Chat.setBarTintColor()
- .Chat.setSearchTintColor()
- .Chat.setBarTitleColor()
- .Chat.endSession()
- .Chat.clearData()
- Event Handler
- Visitors
- Tracking
- Chat Window
- Push Notification
- In-App Notifications
- Conversation
- FAQ
- Chat
- Download Sample App
- Release Notes
- Additional Features
- Help Videos
.Chat.setMessage()
This API lets you configure pre-defined default messages that are to be displayed in the chat windows.
MessgeType | Description |
chatCompleted | Message displayed when a chat is completed |
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 |
Syntax
CopiedZohoSalesIQ.Chat.setMessage(type: SystemMessage, message: String)
Example
CopiedZohoSalesIQ.Chat.setMessage(.chatCompleted, message: "Thanks for your valuable feedback and rating")
ZohoSalesIQ.Chat.setMessage(.ratingCompleted, message: "Thanks for your rating")
ZohoSalesIQ.Chat.setMessage(.feedbackCompleted, message: "Thanks for your valuable feedback")
ZohoSalesIQ.Chat.setMessage(.ratingAndFeedbackCompleted, message: "Thanks for your valuable feedback and rating")
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.