- Installation
- Push Notifications
- UI Customization
- API Reference
- .setTabOrder()
- Launcher Button Customization
- Zoho SalesIQ
- Launcher
- Chat
- .Chat.start()
- chatEventChannel
- .Chat.startWithTrigger()
- .Chat.setWaitingTime()
- .Chat.get()
- .startChat()
- .openNewChat()
- .openChatWithID()
- .setQuestion()
- .setChatTitle()
- .setDepartment()
- .setDepartments()
- .getDepartments()
- .getChats()
- .getChatsWithFilter()
- .setOperatorEmail()
- .Chat.setVisibility()
- .shouldOpenUrl()
- .showOfflineMessage()
- .fetchAttenderImage()
- .setRatingVisibility()
- .setFeedbackVisibility()
- .setVisitorNameVisibility()
- .disablePreChatForms()
- .enablePreChatForms()
- .disableScreenshotOption()
- .enableScreenshotOption()
- .showOperatorImageInChat()
- .endChat()
- .showFeedbackAfterSkip()
- .open()
- .hideQueueTime()
- Chat Actions
- Notification Icon
- Loggers
- Visitor
- Visitor Tracking
- Notification
- Conversation
- Knowledge Base
- FAQ
- Download Sample App
- Release Notes
eventChannel
Note: This API is supported from version 5.1.0
This channel holds events related to SDK notifications.
Event name | Invoked when |
NotificationAction.clicked | Event of an SDK notification is clicked. |
Syntax
CopiedZohoSalesIQ.notification.eventChannel.listen((event) {
// your code to handle events
});
Usage
CopiedZohoSalesIQ.notification.eventChannel.listen((event) {
switch (event.action) {
case NotificationAction.clicked:
SalesIQNotificationPayload? payload = event.payload;
if (payload != null) {
if (payload is SalesIQNotificationPayloadChat) {
// Handle chat notification clicks
} else if (payload is SalesIQNotificationPayloadEndChatDetails) {
// Handle end chat notification clicks
} else if (payload is SalesIQNotificationPayloadVisitorHistory) {
// Handle visitor history notification clicks
}
}
}
});
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.