Skip to content

Commit

Permalink
update NIMLinkModel
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Aug 15, 2022
1 parent 5cbc3b8 commit 368d283
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions NIMKit/NIMKit/Classes/Sections/Model/NIMMessageModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@

@interface NIMLinkModel : NSObject

@property (nonatomic,copy) NSString *title;
@property (nonatomic,copy) NSString *linkValue;
@property (nonatomic,copy, nonnull) NSString *title;
@property (nonatomic,copy, nonnull) NSString *linkValue;
@property (nonatomic,assign) NSRange range;

@end

@interface NIMLinkModelPraserResult : NSObject

@property (nonatomic,strong) NSArray<NIMLinkModel *> *links;
@property (nonatomic,strong) NSString *text;
@property (nonatomic,strong, nonnull) NSArray<NIMLinkModel *> *links;
@property (nonatomic,strong, nonnull) NSString *text;

+ (nonnull NIMLinkModelPraserResult *) praser:(NSString *)text;

@end



@interface NIMMessageModel : NSObject

/**
Expand Down

0 comments on commit 368d283

Please sign in to comment.