YOUPAILZChatRoomGiftAttachment.h 1.5 KB

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