HyphenateChatSDK 3.9.9.1
EMCircleUser.h
1//
2// EMCircleUser.h
3// HyphenateChat
4//
5// Created by 冯钊 on 2022/6/15.
6// Copyright © 2022 easemob.com. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13typedef NS_ENUM(NSUInteger, EMCircleUserRole) {
14 EMCircleUserRoleOwner = 0, /* \~chinese 社区所有者。 */
15 EMCircleUserRoleModerator, /* \~chinese 社区管理员。 */
16 EMCircleUserRoleUser, /* \~chinese 社区普通成员。 */
17};
18
19@interface EMCircleUser : NSObject
24@property (nonatomic, copy) NSString *userId;
29@property (nonatomic, assign) EMCircleUserRole role;
30
31- (instancetype)initWithUserId:(NSString *)userId role:(EMCircleUserRole)role;
32
33@end
34
35NS_ASSUME_NONNULL_END
Definition: EMCircleUser.h:20
NSString * userId
Definition: EMCircleUser.h:24
EMCircleUserRole role
Definition: EMCircleUser.h:29