SMITemplatedURL
Objective-C
@protocol SMITemplatedURL <SMIEntryPayload, SMIEntryTypeMessage>
Swift
protocol TemplatedURL : EntryPayload, EntryTypeMessage
Represents a rich link within an SMIConversationEntry
.
-
Title of the of corresponding link.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull title;
Swift
var title: String { get }
-
The URL representing the website to open in a webview. The URL is stored into the database as a templated URL and is fully-formed when called. The parameters for the URL are retrieved from the delegate when the message is emitted as well as when fetching the entry from the database.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSURL *url;
Swift
var url: URL? { get }