2025-10-09 16:48:46 +08:00

99 lines
1.6 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// NIMQChatChannel.h
// NIMSDK
//
// Created by Netease.
// Copyright © 2022 Netease. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "NIMQChatDefs.h"
NS_ASSUME_NONNULL_BEGIN
/**
* 频道
*/
@interface NIMQChatChannel : NSObject
/**
* 频道id
*/
@property (nonatomic, assign) unsigned long long channelId;
/**
* 服务器id
*/
@property (nonatomic, assign) unsigned long long serverId;
/**
* 应用id
*/
@property (nonatomic, assign) NSInteger appId;
/**
* 名称
*/
@property (nonatomic, copy) NSString *name;
/**
* 主题
*/
@property (nonatomic, copy) NSString *topic;
/**
* 自定义扩展
*/
@property (nonatomic, copy) NSString *custom;
/**
* 类型0-消息频道100自定义频道
*/
@property (nonatomic, assign) NIMQChatChannelType type;
/**
* 有效标志0-无效1-有效
*/
@property (nonatomic, assign) BOOL validflag;
/**
* 创建时间
*/
@property (nonatomic, assign) NSTimeInterval createTime;
/**
* 更新时间
*/
@property (nonatomic, assign) NSTimeInterval updateTime;
/**
* 所有者
*/
@property (nonatomic, copy) NSString *owner;
/**
* 查看模式
*/
@property (nonatomic, assign) NIMQChatChannelViewMode viewMode;
/**
* 频道分组id
*/
@property (nonatomic, assign) unsigned long long categoryId;
/**
* 是否与频道分组配置同步
*/
@property (nonatomic, assign) NIMQChatChannelSyncMode syncMode;
/**
* 自定义排序权重值
*/
@property (nonatomic, assign) long reorderWeight;
/**
* 游客可见模式
*/
@property (nonatomic, assign) NIMQChatVisitorMode visitorMode;
@end
NS_ASSUME_NONNULL_END