Commit 31b816a8 by zhangyunjie

1.2.2.8

parent babc1c18
......@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'OffcnIMSDKiOS'
s.version = '1.2.2.7'
s.version = '1.2.2.8'
s.summary = 'OffcnIMSDKiOS.'
s.description = <<-DESC
......
......@@ -31,13 +31,15 @@ typedef void(^linkCallBack)(NSURL *URL);
@property (nonatomic, copy) linkCallBack linkCallBack;
//联系人model
@property (nonatomic, strong) OffcnIMUserList_listModel *contactInfoModel;
//滑动到底部
- (void)scrollTableToFoot:(BOOL)animated;
/// 返回联系人信息
/// @param agent_ID 客服ID
/// @param toID 对方ID
/// @param group_id 客服组ID
-(OffcnIMUserList_listModel *)cs_getContactInfoModelWithAgent_ID:(NSString *)agent_ID toID:(NSString *)toID group_id:(NSString *)group_id;
//是否内部跳转(单独使用此类跳转时请传NO)必传
......@@ -46,6 +48,16 @@ typedef void(^linkCallBack)(NSURL *URL);
//聊天内容点击链接是否跳转浏览器(yes:跳转浏览器;no:不跳转,返回的链接根据产品需求处理)
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
/// 满足条件:“学员在班级&班级状态不是已结班” 或 “学员在学习包内”返回YES,否则返回NO
/// @param teacherID 教师ID
/// @param studentID 学生ID
/// @param group_id 客服组ID
-(BOOL)isEndClassWithTeacherID:(NSString *)teacherID studentID:(NSString *)studentID group_id:(NSString *)group_id;
//滑动到底部
- (void)scrollTableToFoot:(BOOL)animated;
@end
NS_ASSUME_NONNULL_END
......@@ -40,12 +40,18 @@ typedef void(^OffcnIMTotal_unread_number)(NSInteger num);
-(BOOL)isJumpToBrowserWithLinkUrlStr:(NSString *)linkUrlStr;
/// 满足条件:“学员在班级&班级状态不是已结班” 或 “学员在学习包内”返回YES,否则返回NO
/// @param teacherID 教师ID
/// @param studentID 学生ID
/// @param group_id 客服组ID
-(BOOL)isEndClassWithTeacherID:(NSString *)teacherID studentID:(NSString *)studentID group_id:(NSString *)group_id;
//清空数据
-(void)clearData;
//刷新
-(void)reloadData;
@end
NS_ASSUME_NONNULL_END
......@@ -221,6 +221,7 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, copy) NSString *ability;//能力,例如:老师答疑题型范围等
@property (nonatomic, copy) NSString *teacherName;//名字
@property (nonatomic, copy) NSString *teacherAvatar;//头像地址
@property (nonatomic, copy) NSString *teacherPhone;//手机号
@property (nonatomic, copy) NSString *expand;//拓展字段
......@@ -325,5 +326,11 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic,copy)NSString *agent_id;//客服组ID
@end
//聊天回复是否存在
@interface OffcnIMCSReplyModel : NSObject
@property (nonatomic,assign)NSInteger reply_count;//>0为回复
@end
NS_ASSUME_NONNULL_END
......@@ -9,7 +9,7 @@
#import <UIKit/UIKit.h>
#import "OffcnIMModel.h"
static const NSString *OffcnIMSDKiOSVersion = @"1.2.2.7";
static const NSString *OffcnIMSDKiOSVersion = @"1.2.2.8";
//聊天详情头像点击事件通知
#define kOffcnIMChatInfoHeadIconClickNotification @"kOffcnIMChatInfoHeadIconClickNotification"
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
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