![]() |
NIM 跨平台 C++ SDK
|
#include <nim_qchat_channel_def.h>
Public 属性 | |
| uint64_t | server_id |
| server id | |
| uint64_t | channel_id |
| channel id | |
| char * | name |
| 名称 | |
| char * | topic |
| 主题 | |
| char * | custom |
| 自定义字段 | |
| NIMQChatChannelType | type |
| 频道类型 | |
| char * | owner |
| 拥有者 | |
| NIMQChatChannelViewMode | view_mode |
| 查看模式,只有在category_id为0或sync_mode为kNIMQChatChannelSyncModeNoSync时有效 | |
| NIMQChatChannelVisitorMode | visitor_mode |
| 游客访问模式 | |
| bool | valid_flag |
| 有效标记,false:无效 true:有效 | |
| uint64_t | create_time |
| 创建时间 | |
| uint64_t | update_time |
| 更新时间 | |
| uint64_t | category_id |
| 频道分组ID | |
| NIMQChatChannelSyncMode | sync_mode |
| 频道分组同步模式 | |
| uint64_t | reorder_weight |
| 自定义排序权重值 | |
| uint64_t NIMQChatChannelInfo::category_id |
频道分组ID
| uint64_t NIMQChatChannelInfo::channel_id |
channel id
| uint64_t NIMQChatChannelInfo::create_time |
创建时间
| char* NIMQChatChannelInfo::custom |
自定义字段
| char* NIMQChatChannelInfo::name |
名称
| char* NIMQChatChannelInfo::owner |
拥有者
| uint64_t NIMQChatChannelInfo::reorder_weight |
自定义排序权重值
| uint64_t NIMQChatChannelInfo::server_id |
server id
| NIMQChatChannelSyncMode NIMQChatChannelInfo::sync_mode |
频道分组同步模式
| char* NIMQChatChannelInfo::topic |
主题
| NIMQChatChannelType NIMQChatChannelInfo::type |
频道类型
| uint64_t NIMQChatChannelInfo::update_time |
更新时间
| bool NIMQChatChannelInfo::valid_flag |
有效标记,false:无效 true:有效
| NIMQChatChannelViewMode NIMQChatChannelInfo::view_mode |
查看模式,只有在category_id为0或sync_mode为kNIMQChatChannelSyncModeNoSync时有效
| NIMQChatChannelVisitorMode NIMQChatChannelInfo::visitor_mode |
游客访问模式