SharedConversation.h 583 B

12345678910111213141516171819202122
  1. //
  2. // SharedConversation.h
  3. // WildFireChat
  4. //
  5. // Created by Tom Lee on 2020/10/6.
  6. // Copyright © 2020 WildFireChat. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface SharedConversation : NSObject <NSSecureCoding>
  11. @property(nonatomic, assign)int type;
  12. @property(nonatomic, strong)NSString *target;
  13. @property(nonatomic, assign)int line;
  14. @property(nonatomic, strong)NSString *title;
  15. @property(nonatomic, strong)NSString *portraitUrl;
  16. + (instancetype)from:(int)type target:(NSString *)target line:(int)line;
  17. @end
  18. NS_ASSUME_NONNULL_END