CNLiveChatMessage.h 721 Bytes
//
//  CNLiveChatMessage.h
//  CNLiveChatManager
//
//  Created by cnliveJunBo on 17/3/3.
//  Copyright © 2017年 cnlive. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CNLiveChatStatusDefine.h"
#import "CNLiveChatUserInfo.h"

@interface CNLiveChatMessage : NSObject

/**
 会话类型(私聊 / 聊天室)
 */
@property (nonatomic, assign) CNLiveConversationType conversationType;

/**
 目标ID(消息来自聊天室的ID / 接收者ID)
 */
@property (nonatomic, assign) NSString *targetId;

/**
 消息内容
 */
@property (nonatomic, strong) NSString *messageContent;

/**
 发送者的用户信息(userId, name, portraitUri)
 */
@property (nonatomic, strong) CNLiveChatUserInfo *userInfo;

@end