11NS_ASSUME_NONNULL_BEGIN
35@protocol NIMCustomAttachment <NSObject>
43- (NSString *)encodeAttachment;
52- (BOOL)attachmentNeedsUpload;
59- (NSString *)attachmentPathForUploading;
66- (void)updateAttachmentURL:(NSString *)urlString;
74- (BOOL)attachmentNeedsDownload;
82- (NSString *)attachmentURLStringForDownloading;
90- (NSString *)attachmentPathForDownloading;
99@protocol NIMCustomAttachmentCoding<NSObject>
109- (nullable id<NIMCustomAttachment>)decodeAttachment:(nullable NSString *)content;
122@property(nullable, nonatomic, strong) id<NIMCustomAttachment>
attachment;
131+ (void)registerCustomDecoder:(id<NIMCustomAttachmentCoding>)decoder;
Definition: NIMCustomObject.h:116
id< NIMCustomAttachment > attachment
Definition: NIMCustomObject.h:122
Definition: NIMMessageObjectProtocol.h:20