NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatCreateChannelParam.h
浏览该文件的文档.
1//
2// NIMQChatCreateChannelParam.h
3// NIMSDK
4//
5// Created by Netease.
6// Copyright © 2022 Netease. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "NIMQChatDefs.h"
11
12NS_ASSUME_NONNULL_BEGIN
13
14/**
15 * 创建频道的类型
16 */
17@interface NIMQChatCreateChannelParam : NSObject
18
19/**
20 * 服务器id
21 */
22@property (nonatomic, assign) unsigned long long serverId;
23
24/**
25 * 名称
26 */
27@property (nonatomic, copy) NSString *name;
28
29/**
30 * 主题
31 */
32@property (nonatomic, copy) NSString *topic;
33
34/**
35 * 自定义扩展
36 */
37@property (nonatomic, copy) NSString *custom;
38
39/**
40 * 类型:0-消息频道,1音视频频道,100自定义频道
41 */
42@property (nonatomic, assign) NIMQChatChannelType type;
43
44/**
45 * 查看模式
46 */
47@property (nonatomic, assign) NIMQChatChannelViewMode viewMode;
48
49/**
50 * 对某些资料内容另外的反垃圾的业务ID
51 */
52@property (nonatomic, copy) NSString *antispamBusinessId;
53
54/**
55 * 频道分组id,传categoryId和NIMQChatChannelSyncModeSync时,viewMode将不生效
56 */
57@property (nonatomic, assign) unsigned long long categoryId;
58
59/**
60 * 是否与频道分组配置同步,传categoryId和NIMQChatChannelSyncModeSync时,viewMode将不生效
61 */
62@property (nonatomic, assign) NIMQChatChannelSyncMode syncMode;
63
64/**
65 * 游客可见模式
66 */
67@property (nonatomic, assign) NIMQChatVisitorMode visitorMode;
68
69@end
70
71
72NS_ASSUME_NONNULL_END
NIMQChatVisitorMode
Definition: NIMQChatDefs.h:541
NIMQChatChannelType
Definition: NIMQChatDefs.h:413
NIMQChatChannelViewMode
Definition: NIMQChatDefs.h:426
NIMQChatChannelSyncMode
Definition: NIMQChatDefs.h:420
Definition: NIMQChatCreateChannelParam.h:18
NIMQChatChannelType type
Definition: NIMQChatCreateChannelParam.h:42
NSString * topic
Definition: NIMQChatCreateChannelParam.h:32
NSString * name
Definition: NIMQChatCreateChannelParam.h:27
NIMQChatChannelViewMode viewMode
Definition: NIMQChatCreateChannelParam.h:47
unsigned long long serverId
Definition: NIMQChatCreateChannelParam.h:22
unsigned long long categoryId
Definition: NIMQChatCreateChannelParam.h:57
NIMQChatVisitorMode visitorMode
Definition: NIMQChatCreateChannelParam.h:67
NSString * antispamBusinessId
Definition: NIMQChatCreateChannelParam.h:52
NIMQChatChannelSyncMode syncMode
Definition: NIMQChatCreateChannelParam.h:62
NSString * custom
Definition: NIMQChatCreateChannelParam.h:37