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

73 lines
1.4 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.

//
// NIMQChatCreateChannelParam.h
// NIMSDK
//
// Created by Netease.
// Copyright © 2022 Netease. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "NIMQChatDefs.h"
NS_ASSUME_NONNULL_BEGIN
/**
* 创建频道的类型
*/
@interface NIMQChatCreateChannelParam : NSObject
/**
* 服务器id
*/
@property (nonatomic, assign) unsigned long long serverId;
/**
* 名称
*/
@property (nonatomic, copy) NSString *name;
/**
* 主题
*/
@property (nonatomic, copy) NSString *topic;
/**
* 自定义扩展
*/
@property (nonatomic, copy) NSString *custom;
/**
* 类型0-消息频道1音视频频道100自定义频道
*/
@property (nonatomic, assign) NIMQChatChannelType type;
/**
* 查看模式
*/
@property (nonatomic, assign) NIMQChatChannelViewMode viewMode;
/**
* 对某些资料内容另外的反垃圾的业务ID
*/
@property (nonatomic, copy) NSString *antispamBusinessId;
/**
* 频道分组id传categoryId和NIMQChatChannelSyncModeSync时viewMode将不生效
*/
@property (nonatomic, assign) unsigned long long categoryId;
/**
* 是否与频道分组配置同步,传categoryId和NIMQChatChannelSyncModeSync时viewMode将不生效
*/
@property (nonatomic, assign) NIMQChatChannelSyncMode syncMode;
/**
* 游客可见模式
*/
@property (nonatomic, assign) NIMQChatVisitorMode visitorMode;
@end
NS_ASSUME_NONNULL_END