NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatChannel.h
浏览该文件的文档.
1//
2// NIMQChatChannel.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"
11NS_ASSUME_NONNULL_BEGIN
12/**
13 * 频道
14 */
15@interface NIMQChatChannel : NSObject
16
17/**
18 * 频道id
19 */
20@property (nonatomic, assign) unsigned long long channelId;
21
22/**
23 * 服务器id
24 */
25@property (nonatomic, assign) unsigned long long serverId;
26
27/**
28 * 应用id
29 */
30@property (nonatomic, assign) NSInteger appId;
31
32/**
33 * 名称
34 */
35@property (nonatomic, copy) NSString *name;
36
37/**
38 * 主题
39 */
40@property (nonatomic, copy) NSString *topic;
41
42/**
43 * 自定义扩展
44 */
45@property (nonatomic, copy) NSString *custom;
46
47/**
48 * 类型:0-消息频道,100自定义频道
49 */
50@property (nonatomic, assign) NIMQChatChannelType type;
51
52/**
53 * 有效标志:0-无效,1-有效
54 */
55@property (nonatomic, assign) BOOL validflag;
56
57/**
58 * 创建时间
59 */
60@property (nonatomic, assign) NSTimeInterval createTime;
61
62/**
63 * 更新时间
64 */
65@property (nonatomic, assign) NSTimeInterval updateTime;
66/**
67 * 所有者
68 */
69@property (nonatomic, copy) NSString *owner;
70
71/**
72 * 查看模式
73 */
74@property (nonatomic, assign) NIMQChatChannelViewMode viewMode;
75
76/**
77 * 频道分组id
78 */
79@property (nonatomic, assign) unsigned long long categoryId;
80
81/**
82 * 是否与频道分组配置同步
83 */
84@property (nonatomic, assign) NIMQChatChannelSyncMode syncMode;
85
86/**
87 * 自定义排序权重值
88 */
89@property (nonatomic, assign) long reorderWeight;
90
91/**
92 * 游客可见模式
93 */
94@property (nonatomic, assign) NIMQChatVisitorMode visitorMode;
95
96@end
97
98NS_ASSUME_NONNULL_END
NIMQChatVisitorMode
Definition: NIMQChatDefs.h:541
NIMQChatChannelType
Definition: NIMQChatDefs.h:413
NIMQChatChannelViewMode
Definition: NIMQChatDefs.h:426
NIMQChatChannelSyncMode
Definition: NIMQChatDefs.h:420
Definition: NIMQChatChannel.h:16
BOOL validflag
Definition: NIMQChatChannel.h:55
NSString * topic
Definition: NIMQChatChannel.h:40
NSString * owner
Definition: NIMQChatChannel.h:69
unsigned long long categoryId
Definition: NIMQChatChannel.h:79
NSTimeInterval updateTime
Definition: NIMQChatChannel.h:65
NIMQChatChannelType type
Definition: NIMQChatChannel.h:50
NIMQChatVisitorMode visitorMode
Definition: NIMQChatChannel.h:94
long reorderWeight
Definition: NIMQChatChannel.h:89
unsigned long long serverId
Definition: NIMQChatChannel.h:25
NSInteger appId
Definition: NIMQChatChannel.h:30
NSTimeInterval createTime
Definition: NIMQChatChannel.h:60
NIMQChatChannelSyncMode syncMode
Definition: NIMQChatChannel.h:84
NSString * name
Definition: NIMQChatChannel.h:35
NSString * custom
Definition: NIMQChatChannel.h:45
NIMQChatChannelViewMode viewMode
Definition: NIMQChatChannel.h:74
unsigned long long channelId
Definition: NIMQChatChannel.h:20