NIMKitMessageAtModel.h 743 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // NIMKitMessageAtModel.h
  3. // NIMKit
  4. //
  5. // Created by chris on 2016/12/7.
  6. // Copyright © 2016年 NetEase. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface NIMKitMessageAtData : NSObject
  10. @property (nonatomic,strong) NSString *name; //@消息用户在群中的群名
  11. @property (nonatomic,strong) NSString *uid; //@消息的用户ID
  12. @property (nonatomic,assign) NSRange range; //@消息的range
  13. @end
  14. @interface NIMKitMessageAtInfo : NSObject
  15. - (void)addSendAtMessageData:(NIMKitMessageAtData *)data;
  16. - (NSRange)deleteTextWithRange:(NSRange)range
  17. text:(NSString*)text;
  18. - (void)addTextWithReplaceRange:(NSRange)replaceRange
  19. text:(NSString*)text;
  20. @end