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 */