SMIRichLinkMessage

Objective-C

@protocol SMIRichLinkMessage <SMIEntryPayload, SMIEntryTypeMessage>

Swift

protocol RichLinkMessage : EntryPayload, EntryTypeMessage

Represents a rich link within an SMIConversationEntry.

  • Title of the rich link message.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nonnull title;

    Swift

    var title: String { get }
  • url

    The URL representing the website pointed to by the rich link.

    Declaration

    Objective-C

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

    Swift

    var url: URL? { get }
  • The associated image asset for the rich link.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) id<SMIImageAsset> asset;

    Swift

    var asset: (any ImageAsset)? { get }