NIMSDK-iOS
载入中...
搜索中...
未找到
NIMSuperTeamNotificationContent.h
浏览该文件的文档.
1//
2// NIMSuperTeamNotificationContent.h
3// NIMSDK
4//
5// Copyright © 2019 Netease. All rights reserved.
6//
7
8#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
13/**
14 * 群操作类型
15 */
16typedef NS_ENUM(NSInteger, NIMSuperTeamOperationType){
17 /**
18 * 邀请成员
19 */
21 /**
22 * 移除成员
23 */
25 /**
26 * 离开群
27 */
29 /**
30 * 更新群信息
31 */
33 /**
34 * 解散群
35 */
37 /**
38 * 群主转移群主身份
39 */
41 /**
42 * 添加管理员
43 */
45 /**
46 * 移除管理员
47 */
49
50 /**
51 * 群内禁言/解禁
52 */
54
55 /**
56 * 申请成功进群
57 */
59
60 /**
61 * 接受邀请进群
62 */
64};
65
66/**
67 * 群信息更新字段
68 */
69typedef NS_ENUM(NSInteger, NIMSuperTeamUpdateTag){
70 /**
71 * 群名
72 */
74 /**
75 * 群简介
76 */
78 /**
79 * 群公告
80 */
82 /**
83 * 群验证方式
84 */
86 /**
87 * 客户端自定义拓展字段
88 */
90
91 /**
92 * 服务器自定义拓展字段
93 * @discussion SDK 无法直接修改这个字段, 请调用服务器接口
94 */
96
97 /**
98 * 头像
99 */
101
102 /**
103 * 被邀请模式
104 */
106
107 /**
108 * 群全体禁言
109 * @discussion SDK 无法直接修改这个字段, 请调用服务器接口
110 */
112
113 /**
114 * 对某些资料内容另外的反垃圾的业务ID
115 */
117};
118
119/**
120 * 超大群通知内容
121 */
123/**
124 * 操作发起者ID
125 */
126@property (nullable,nonatomic,copy,readonly) NSString *sourceID;
127
128/**
129 * 操作类型
130 */
131@property (nonatomic,assign,readonly) NIMSuperTeamOperationType operationType;
132
133/**
134 * 被操作者ID列表
135 */
136@property (nullable,nonatomic,copy,readonly) NSArray<NSString *> *targetIDs;
137
138/**
139 * 群通知下发的自定义扩展信息
140 */
141@property (nullable,nonatomic,readonly) NSString *notifyExt;
142
143/**
144 * 额外信息
145 * @discussion 群更新时 attachment 为 NIMUpdateTeamInfoAttachment,
146 * 禁言时 attachment 为 NIMMuteTeamMemberAttachment
147 */
148@property (nullable,nonatomic,strong,readonly) id attachment;
149@end
150
151/**
152 * 更新群信息的额外信息
153 */
155
156/**
157 * 群内修改的信息键值对
158 * @discussion NSNumebr 取值范围为 NIMSuperTeamUpdateTag 枚举类型
159 */
160@property (nullable,nonatomic,copy,readonly) NSDictionary<NSNumber *,NSString *> *values;
161@end
162
163/**
164 * 禁言通知的额外信息
165 */
167
168/**
169 * 是否被禁言
170 * @discussion YES 为禁言,NO 为 解除禁言
171 */
172@property (nonatomic,assign,readonly) BOOL flag;
173
174@end
175
176NS_ASSUME_NONNULL_END
NIMSuperTeamUpdateTag
Definition: NIMSuperTeamNotificationContent.h:69
@ NIMSuperTeamUpdateTagAntispamBusinessId
Definition: NIMSuperTeamNotificationContent.h:116
@ NIMSuperTeamUpdateTagClientCustom
Definition: NIMSuperTeamNotificationContent.h:89
@ NIMSuperTeamUpdateTagIntro
Definition: NIMSuperTeamNotificationContent.h:77
@ NIMSuperTeamUpdateTagMuteMode
Definition: NIMSuperTeamNotificationContent.h:111
@ NIMSuperTeamUpdateTagBeInviteMode
Definition: NIMSuperTeamNotificationContent.h:105
@ NIMSuperTeamUpdateTagJoinMode
Definition: NIMSuperTeamNotificationContent.h:85
@ NIMSuperTeamUpdateTagServerCustom
Definition: NIMSuperTeamNotificationContent.h:95
@ NIMSuperTeamUpdateTagAnouncement
Definition: NIMSuperTeamNotificationContent.h:81
@ NIMSuperTeamUpdateTagAvatar
Definition: NIMSuperTeamNotificationContent.h:100
@ NIMSuperTeamUpdateTagName
Definition: NIMSuperTeamNotificationContent.h:73
NIMSuperTeamOperationType
Definition: NIMSuperTeamNotificationContent.h:16
@ NIMSuperTeamOperationTypeTransferOwner
Definition: NIMSuperTeamNotificationContent.h:40
@ NIMSuperTeamOperationTypeLeave
Definition: NIMSuperTeamNotificationContent.h:28
@ NIMSuperTeamOperationTypeAddManager
Definition: NIMSuperTeamNotificationContent.h:44
@ NIMSuperTeamOperationTypeMute
Definition: NIMSuperTeamNotificationContent.h:53
@ NIMSuperTeamOperationTypeDismiss
Definition: NIMSuperTeamNotificationContent.h:36
@ NIMSuperTeamOperationTypeApplyPass
Definition: NIMSuperTeamNotificationContent.h:58
@ NIMSuperTeamOperationTypeKick
Definition: NIMSuperTeamNotificationContent.h:24
@ NIMSuperTeamOperationTypeUpdate
Definition: NIMSuperTeamNotificationContent.h:32
@ NIMSuperTeamOperationTypeRemoveManager
Definition: NIMSuperTeamNotificationContent.h:48
@ NIMSuperTeamOperationTypeInvite
Definition: NIMSuperTeamNotificationContent.h:20
@ NIMSuperTeamOperationTypeAcceptInvitation
Definition: NIMSuperTeamNotificationContent.h:63
Definition: NIMSuperTeamNotificationContent.h:167
Definition: NIMNotificationContent.h:46
Definition: NIMSuperTeamNotificationContent.h:123
NIMSuperTeamOperationType operationType
Definition: NIMSuperTeamNotificationContent.h:131
NSArray< NSString * > * targetIDs
Definition: NIMSuperTeamNotificationContent.h:136
id attachment
Definition: NIMSuperTeamNotificationContent.h:148
NSString * notifyExt
Definition: NIMSuperTeamNotificationContent.h:141
NSString * sourceID
Definition: NIMSuperTeamNotificationContent.h:126
Definition: NIMSuperTeamNotificationContent.h:155