From d57cf73b9ce3a8ea88800e648070223ae817fb11 Mon Sep 17 00:00:00 2001 From: std-s <278779615@qq.com> Date: Tue, 5 Jul 2022 10:07:36 +0800 Subject: [PATCH] [Update] group type. --- OpenIMSDK/Model/OIMGroupInfo.h | 2 +- OpenIMSDK/Utils/OIMModelDefine.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/OpenIMSDK/Model/OIMGroupInfo.h b/OpenIMSDK/Model/OIMGroupInfo.h index 93953fe..1dfd0bd 100644 --- a/OpenIMSDK/Model/OIMGroupInfo.h +++ b/OpenIMSDK/Model/OIMGroupInfo.h @@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN @interface OIMGroupCreateInfo : OIMGroupBaseInfo -@property (nonatomic, assign) NSInteger groupType; +@property (nonatomic, assign) OIMGroupType groupType; @end diff --git a/OpenIMSDK/Utils/OIMModelDefine.h b/OpenIMSDK/Utils/OIMModelDefine.h index 8f712b2..fc94045 100644 --- a/OpenIMSDK/Utils/OIMModelDefine.h +++ b/OpenIMSDK/Utils/OIMModelDefine.h @@ -138,4 +138,11 @@ typedef NS_ENUM(NSInteger, OIMGroupVerificationType) { OIMGroupVerificationTypeDirectly = 2, /// 直接进群 }; +/** + 群类型 + */ +typedef NS_ENUM(NSInteger, OIMGroupType) { + OIMGroupTypeNormal, /// 普通群 + OIMGroupTypeWorking, /// 工作群 +}; #endif /* OIMModelDefine_h */