SCSURLEvent

@interface SCSURLEvent : SCSChatEvent

Information related to when a URL is detected in a message.

  • url

    The URL found in the message.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSURL *_Nonnull url;

    Swift

    var url: URL { get }
  • Whether this URL is to be treated as an AppEvent as opposed to a generic web link.

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isAppEvent;

    Swift

    var isAppEvent: Bool { get }
  • Default title to display if a metadata fetch fails.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSString *defaultTitle;

    Swift

    var defaultTitle: String? { get }