InAppChatNotificationTouchListener
@available(iOS 12.0, *)
@objc(BDKInAppChatNotificationTouchListener)
public protocol InAppChatNotificationTouchListener
Represents a chat notification touch listener
Classes conforming to this protocol are notified when a chat notification has been touched by the user,
providing the ChatNotification
object representing the touched notification.
You usually present a ChannelViewController
interface in response to this event handing it an OpenChatIntent
object created from the notification.
-
Method called whenever the user touches a chat notification presented in-app.
Declaration
Swift
@objc(didTouchChatNotification:) func onTouch(_ notification: ChatNotification)
Parameters
notification
An opaque chat notification object representing the notification touched.