123456789101112131415161718192021222324252627282930 |
- //
- // YOUPAILCGiftAttachment.h
- // LiveChat
- //
- // Created by 张灿 on 2018/9/22.
- // Copyright © 2018年 caicai. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "LCCustomAttachmentDefine.h"
- @interface YOUPAILCGiftAttachment : NSObject<NIMCustomAttachment,LCCustomAttachmentInfo>
- @property(nonatomic,assign)NSInteger gift_id;//礼物id
- @property(nonatomic,strong)NSString* gift_name;//礼物名称
- @property(nonatomic,assign)NSInteger gift_count;//礼物个数
- @property(nonatomic,strong)NSString* gift_url; //礼物图片地址
- @property(nonatomic,assign)NSInteger from_uid; //赠送者ID
- @property(nonatomic,assign)NSInteger to_uid; //收到者ID
- @property(nonatomic,strong)NSString *roomid; // 直接间ID
- @property(nonatomic,assign)NSInteger link_type;//链接类型
- @property(nonatomic,strong)NSString* link_url;//链接地址
- //SVGA
- @property(nonatomic,strong)NSString* md5_string;//svgaMD5值
- @property(nonatomic,strong)NSString* gift_svga;//svga地址
- @property(nonatomic,assign)NSInteger gift_type;//礼物类型 0普通 1 svga动画礼物
- @property(nonatomic,strong)NSString *from_nickname; //赠送者昵称
- @property(nonatomic,strong)NSString *from_avatar; //赠送者头像
- @property(nonatomic,assign)NSInteger send_gift_hide;//是否悄悄送礼 0、否 1、是
- @end
|