Skip to content

Commit

Permalink
[Update] group type.
Browse files Browse the repository at this point in the history
  • Loading branch information
std-s committed Jul 5, 2022
1 parent ece5fca commit d57cf73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OpenIMSDK/Model/OIMGroupInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN

@interface OIMGroupCreateInfo : OIMGroupBaseInfo

@property (nonatomic, assign) NSInteger groupType;
@property (nonatomic, assign) OIMGroupType groupType;

@end

Expand Down
7 changes: 7 additions & 0 deletions OpenIMSDK/Utils/OIMModelDefine.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,11 @@ typedef NS_ENUM(NSInteger, OIMGroupVerificationType) {
OIMGroupVerificationTypeDirectly = 2, /// 直接进群
};

/**
群类型
*/
typedef NS_ENUM(NSInteger, OIMGroupType) {
OIMGroupTypeNormal, /// 普通群
OIMGroupTypeWorking, /// 工作群
};
#endif /* OIMModelDefine_h */

0 comments on commit d57cf73

Please sign in to comment.