Commit 9f8536db by zhangyunjie

1.2.2.5

parent 7a29d554
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'OffcnIMSDKiOS' s.name = 'OffcnIMSDKiOS'
s.version = '1.2.2.4' s.version = '1.2.2.5'
s.summary = 'OffcnIMSDKiOS.' s.summary = 'OffcnIMSDKiOS.'
s.description = <<-DESC s.description = <<-DESC
......
...@@ -31,6 +31,7 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -31,6 +31,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic,copy)NSString *send_time;//发送时间 @property (nonatomic,copy)NSString *send_time;//发送时间
@property (nonatomic,assign)NSInteger msg_seq;//消息时序 @property (nonatomic,assign)NSInteger msg_seq;//消息时序
@property (nonatomic,assign)NSInteger msg_scope;//单聊:1;群聊:2;私聊: 9;客服: 10 @property (nonatomic,assign)NSInteger msg_scope;//单聊:1;群聊:2;私聊: 9;客服: 10
@property (nonatomic,assign)NSInteger cell_type;//1:群发消息,2:单发消息
@property (nonatomic,copy)NSString *msg_from;//发送消息的用户id @property (nonatomic,copy)NSString *msg_from;//发送消息的用户id
@property (nonatomic,copy)NSString *msg_to;//接受消息的用户id @property (nonatomic,copy)NSString *msg_to;//接受消息的用户id
@property (nonatomic,copy)NSString *to;//对方Id @property (nonatomic,copy)NSString *to;//对方Id
...@@ -187,18 +188,23 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -187,18 +188,23 @@ NS_ASSUME_NONNULL_BEGIN
@class OffcnIMUserList_list_classesModel; @class OffcnIMUserList_list_classesModel;
@interface OffcnIMUserList_listModel : NSObject @interface OffcnIMUserList_listModel : NSObject
//内部使用 //单独使用聊天详情页面时需要传入
@property (nonatomic, assign) NSInteger cell_type;//1:群发消息,2:单发消息 @property (nonatomic, assign) NSInteger cell_type;//1:群发消息,2:单发消息
//群发使用;选用
@property (nonatomic, copy) NSString *key;//群ID @property (nonatomic, copy) NSString *key;//群ID
@property (nonatomic, strong) OffcnIMUserList_list_classesModel *classes;//群成员 @property (nonatomic, strong) OffcnIMUserList_list_classesModel *classes;//群成员
//详情页展示需要传入 //详情页展示需要传入
//房间信息
@property (nonatomic, copy) NSString *room_name;//房间标题 @property (nonatomic, copy) NSString *room_name;//房间标题
@property (nonatomic, copy) NSString *room_time;//直播时间例如:@"12:00-15:00" @property (nonatomic, copy) NSString *room_time;//直播时间例如:@"12:00-15:00"
@property (nonatomic, copy) NSString *room_class;//所属班级 @property (nonatomic, copy) NSString *room_class;//所属班级
@property (nonatomic, copy) NSString *room_num;//房间号 @property (nonatomic, copy) NSString *room_num;//房间号
//对方信息
@property (nonatomic, copy) NSString *avatar;//头像地址 @property (nonatomic, copy) NSString *avatar;//头像地址
@property (nonatomic, copy) NSString *sortChar;//无地址时头像展示一个字(暂无此功能) @property (nonatomic, copy) NSString *sortChar;//无地址时头像展示一个字(暂无此功能)
@property (nonatomic, copy) NSString *avatar_color;//无地址时头像背景色(暂无此功能) @property (nonatomic, copy) NSString *avatar_color;//无地址时头像背景色(暂无此功能)
...@@ -206,17 +212,20 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -206,17 +212,20 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, copy) NSString *remark;//备注名 @property (nonatomic, copy) NSString *remark;//备注名
@property (nonatomic, copy) NSString *phone;//用户手机号 @property (nonatomic, copy) NSString *phone;//用户手机号
@property (nonatomic, copy) NSString *name_original;//原始名字 @property (nonatomic, copy) NSString *name_original;//原始名字
@property (nonatomic, copy) NSString *user_id;//对方ID;如果是群发消息,user_id以@","拼接
//教师信息
@property (nonatomic, copy) NSString *group_id;//客服组id
@property (nonatomic, copy) NSString *identity;//身份 @property (nonatomic, copy) NSString *identity;//身份
@property (nonatomic, copy) NSString *ability;//能力,例如:老师答疑题型范围等 @property (nonatomic, copy) NSString *ability;//能力,例如:老师答疑题型范围等
@property (nonatomic, copy) NSString *group_id;//客服组id @property (nonatomic, copy) NSString *teacherName;//名字
@property (nonatomic, copy) NSString *teacherAvatar;//头像地址
@property (nonatomic, copy) NSString *user_id;//对方ID
@property (nonatomic, copy) NSString *expand;//拓展字段 @property (nonatomic, copy) NSString *expand;//拓展字段
@property (nonatomic, assign) NSInteger expandH;//拓展字段 @property (nonatomic, assign) NSInteger expandH;//拓展字段
@end @end
@interface OffcnIMUserList_list_classesModel : NSObject @interface OffcnIMUserList_list_classesModel : NSObject
@property (nonatomic, copy) NSString *count;//成员人数 @property (nonatomic, copy) NSString *count;//成员人数
...@@ -308,4 +317,12 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -308,4 +317,12 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic,assign)NSInteger value;//1-满意;2-不满意 @property (nonatomic,assign)NSInteger value;//1-满意;2-不满意
@end @end
//申请人工客服
@interface OffcnIMCSAgent_applyModel : NSObject
@property (nonatomic,copy)NSString *agent_id;//客服组ID
@end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#import <UIKit/UIKit.h> #import <UIKit/UIKit.h>
#import "OffcnIMModel.h" #import "OffcnIMModel.h"
static const NSString *OffcnIMSDKiOSVersion = @"1.2.2.4"; static const NSString *OffcnIMSDKiOSVersion = @"1.2.2.5";
//聊天详情头像点击事件通知 //聊天详情头像点击事件通知
#define kOffcnIMChatInfoHeadIconClickNotification @"kOffcnIMChatInfoHeadIconClickNotification" #define kOffcnIMChatInfoHeadIconClickNotification @"kOffcnIMChatInfoHeadIconClickNotification"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment