SCSChatInterfaceDelegate

@protocol SCSChatInterfaceDelegate <NSObject>
@required

/**
 Tells the delegate when a user interacts with a chat element representing an app event.

 @param interface The Chat Interface instance corresponding to this event.
 @param URL the configured URL associated with the App Event.
 */
- (void)interface:(__weak SCSChatInterface *)interface didReceiveAppEventWithURL:(NSURL *)URL;
@end
  • Tells the delegate when a user interacts with a chat element representing an app event.

    Declaration

    Objective-C

    - (void)interface:(SCSChatInterface *)interface didReceiveAppEventWithURL:(NSURL *)URL;

    Swift

    func interface(_ interface: SCSChatInterface!, didReceiveAppEventWith URL: URL!)

    Parameters

    interface

    The Chat Interface instance corresponding to this event.

    URL

    the configured URL associated with the App Event.