YOUPAILCGiftAttachment.h 1.3 KB

123456789101112131415161718192021222324252627282930
  1. //
  2. // YOUPAILCGiftAttachment.h
  3. // LiveChat
  4. //
  5. // Created by 张灿 on 2018/9/22.
  6. // Copyright © 2018年 caicai. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "LCCustomAttachmentDefine.h"
  10. @interface YOUPAILCGiftAttachment : NSObject<NIMCustomAttachment,LCCustomAttachmentInfo>
  11. @property(nonatomic,assign)NSInteger gift_id;//礼物id
  12. @property(nonatomic,strong)NSString* gift_name;//礼物名称
  13. @property(nonatomic,assign)NSInteger gift_count;//礼物个数
  14. @property(nonatomic,strong)NSString* gift_url; //礼物图片地址
  15. @property(nonatomic,assign)NSInteger from_uid; //赠送者ID
  16. @property(nonatomic,assign)NSInteger to_uid; //收到者ID
  17. @property(nonatomic,strong)NSString *roomid; // 直接间ID
  18. @property(nonatomic,assign)NSInteger link_type;//链接类型
  19. @property(nonatomic,strong)NSString* link_url;//链接地址
  20. //SVGA
  21. @property(nonatomic,strong)NSString* md5_string;//svgaMD5值
  22. @property(nonatomic,strong)NSString* gift_svga;//svga地址
  23. @property(nonatomic,assign)NSInteger gift_type;//礼物类型 0普通 1 svga动画礼物
  24. @property(nonatomic,strong)NSString *from_nickname; //赠送者昵称
  25. @property(nonatomic,strong)NSString *from_avatar; //赠送者头像
  26. @property(nonatomic,assign)NSInteger send_gift_hide;//是否悄悄送礼 0、否 1、是
  27. @end