NIMSDK-iOS
载入中...
搜索中...
未找到
NIMChatroomTagRequest.h
浏览该文件的文档.
1//
2// Created by Songwenhai on 2021/4/10.
3// Copyright (c) 2021 Netease. All rights reserved.
4//
5
6#import <Foundation/Foundation.h>
7
9
10/**
11 * 禁言某个标签的用户的发言,只有管理员或创建者能操作
12 */
13@interface NIMChatroomTempMuteTagRequest : NSObject
14
15/**
16 * 聊天室ID
17 */
18@property(nullable, nonatomic, copy) NSString *roomId;
19
20/**
21 * 禁言的tag
22 */
23@property(nullable, nonatomic, copy) NSString *targetTag;
24
25/**
26 * 禁言的时长,单位秒,若设置为0,则表示取消禁言
27 */
28@property(nonatomic, assign) unsigned long long duartion;
29
30
31/**
32 * 是否需要通知
33 */
34@property(nonatomic, assign) BOOL needNotify;
35
36/**
37 * 操作通知事件扩展
38 */
39@property(nullable, nonatomic, copy) NSString *notifyExt;
40
41/**
42 * 禁言通知广播的目标标签,默认是targetTag
43 */
44@property(nullable, nonatomic, copy) NSString *notifyTargetTags;
45
46
47@end
48
49/**
50 * 根据用户标签获取聊天室成员请求
51 */
53
54/**
55 * 聊天室ID
56 */
57@property(nullable, nonatomic, copy) NSString *roomId;
58
59/**
60 * 标签
61 */
62@property(nullable, nonatomic, copy) NSString *tag;
63
64/**
65 * 最后一位成员锚点,不包括此成员。填nil会使用当前服务器最新时间开始查询,即第一页。
66 */
67@property(nullable, nonatomic, strong) NIMChatroomMember *lastMember;
68
69/**
70 * 获取聊天室成员个数
71 */
72@property(nonatomic, assign) NSUInteger limit;
73
74
75@end
76
77
78/**
79 * 根据用户标签获取聊天室在线成员数量请求
80 */
82
83/**
84 * 聊天室ID
85 */
86@property(nullable, nonatomic, copy) NSString *roomId;
87
88/**
89 * 标签
90 */
91@property(nullable, nonatomic, copy) NSString *tag;
92
93@end
94
95@interface NIMChatroomLocation : NSObject
96
97/**
98 * 聊天室ID
99 */
100@property(nullable, nonatomic, copy) NSString *roomId;
101/**
102 * X坐标
103 */
104@property (nonatomic, copy) NSNumber *locationX;
105/**
106 * Y坐标
107 */
108@property (nonatomic, copy) NSNumber *locationY;
109/**
110 * Z坐标
111 */
112@property (nonatomic, copy) NSNumber *locationZ;
113/**
114 * 距离
115 */
116@property (nonatomic, copy) NSNumber *distance;
117@end
118
119@interface NIMChatroomTagsUpdate : NSObject
120
121/**
122 * 聊天室ID
123 */
124@property(nullable, nonatomic, copy) NSString *roomId;
125/**
126 * 标签,可以设置多个,如果不传,则会删掉老的标签
127 */
128@property (nullable, nonatomic, copy) NSArray<NSString *> *tags;
129/**
130 * 更新标签的通知的目标标签,是一个标签表达式,同时也会改变该连接掉线时的通知对象,见TagCalculator和TagPattern,如果不传,则会删掉老的notifyTargetTags
131 */
132@property (nullable, nonatomic, copy) NSString *notifyTargetTags;
133/**
134 * 是否需要通知,填true则会产生一条通知,类型为325
135 */
136@property (nonatomic, assign) BOOL needNotify;
137/**
138 * 通知扩展字段
139 */
140@property (nullable, nonatomic, copy) NSString *ext;
141
142@end
Definition: NIMChatroomTagRequest.h:53
Definition: NIMChatroomTagRequest.h:96
Definition: NIMChatroomMember.h:47
Definition: NIMChatroomTagRequest.h:82
Definition: NIMChatroomTagRequest.h:120
Definition: NIMChatroomTagRequest.h:14
BOOL needNotify
Definition: NIMChatroomTagRequest.h:34
NSString * notifyTargetTags
Definition: NIMChatroomTagRequest.h:44
unsigned long long duartion
Definition: NIMChatroomTagRequest.h:28
NSString * targetTag
Definition: NIMChatroomTagRequest.h:23
NSString * notifyExt
Definition: NIMChatroomTagRequest.h:39
NSString * roomId
Definition: NIMChatroomTagRequest.h:18