NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatChannelCategory.h
浏览该文件的文档.
1//
2// NIMQChatChannelCategory.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 NIMQChatChannelCategory : NSObject
16
17/**
18 * 频道id
19 */
20@property (nonatomic, assign) unsigned long long categoryId;
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 *custom;
41
42/**
43 * 有效标志:0-无效,1-有效
44 */
45@property (nonatomic, assign) BOOL validflag;
46
47/**
48 * 创建时间
49 */
50@property (nonatomic, assign) NSTimeInterval createTime;
51
52/**
53 * 更新时间
54 */
55@property (nonatomic, assign) NSTimeInterval updateTime;
56/**
57 * 所有者
58 */
59@property (nonatomic, copy) NSString *owner;
60
61/**
62 * 查看模式
63 */
64@property (nonatomic, assign) NIMQChatChannelViewMode viewMode;
65
66/**
67 * 频道数量
68 */
69@property (nonatomic, assign) NSInteger channelNumber;
70
71/**
72 * 自定义排序字段
73 * 分页查询频道分组时可以按照此字段的大小排序
74 */
75@property (nonatomic, assign) NSInteger reorderWeight;
76
77@end
78
79NS_ASSUME_NONNULL_END
NIMQChatChannelViewMode
Definition: NIMQChatDefs.h:426
Definition: NIMQChatChannelCategory.h:16
NSInteger reorderWeight
Definition: NIMQChatChannelCategory.h:75
unsigned long long serverId
Definition: NIMQChatChannelCategory.h:25
NSInteger channelNumber
Definition: NIMQChatChannelCategory.h:69
NSString * owner
Definition: NIMQChatChannelCategory.h:59
BOOL validflag
Definition: NIMQChatChannelCategory.h:45
unsigned long long categoryId
Definition: NIMQChatChannelCategory.h:20
NSString * custom
Definition: NIMQChatChannelCategory.h:40
NIMQChatChannelViewMode viewMode
Definition: NIMQChatChannelCategory.h:64
NSTimeInterval updateTime
Definition: NIMQChatChannelCategory.h:55
NSTimeInterval createTime
Definition: NIMQChatChannelCategory.h:50
NSInteger appId
Definition: NIMQChatChannelCategory.h:30
NSString * name
Definition: NIMQChatChannelCategory.h:35