SMIEntryPayload
Objective-C
@protocol SMIEntryPayload <NSCopying>
Swift
protocol EntryPayload : NSCopying
Common interface for the content of an SMIConversationEntry
object.
-
The format of the message content for the associated
SMIConversationEntry
.Declaration
Objective-C
@property (class, nonatomic, strong, readonly) SMIConversationFormatTypes _Nonnull format;
Swift
static var format: ConversationFormatTypes { get }
-
The type of message content for the associated
SMIConversationEntry
.Declaration
Objective-C
@property (class, nonatomic, strong, readonly) SMIConversationEntryTypes _Nonnull type;
Swift
static var type: ConversationEntryTypes { get }
-
The type of message content for the associated
SMIConversationEntry
.Declaration
Objective-C
@property (class, nonatomic, strong, readonly) SMIConversationEntryMessageTypes _Nonnull messageType;
Swift
static var messageType: ConversationEntryMessageTypes { get }
-
The identifier for the message content for the associated
SMIConversationEntry
.Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull identifier;
Swift
var identifier: String { get }
-
The unique identifier of a specific
SMIConversationEntry
that this payload is a reply to.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSString *inReplyToEntryId;
Swift
var inReplyToEntryId: String? { get }
-
The
SMIConversationEntry
that the payload is a reply to.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) id<SMIConversationEntry> replyTo;
Swift
var replyTo: (any SMIConversationEntry)? { get }