BDKInAppChatNotificationTouchListener
Objective-C
@protocol BDKInAppChatNotificationTouchListener
Swift
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.
-
Method called whenever the user touches a chat notification presented in-app. \param notification An opaque chat notification object representing the notification touched.
Declaration
Objective-C
- (void)didTouchChatNotification:(BDKChatNotification *_Nonnull)notification;
Swift
func onTouch(_ notification: BDKChatNotification)