NIM PC Cross Platform SDK
nim_qchat::QChatChannelInfo Struct Reference

Public Member Functions

 QChatChannelInfo (const NIMQChatChannelInfo &c_param)
 
const NIMQChatChannelInfo ToCParam () const
 

Public Attributes

uint64_t server_id {0}
 server id
 
uint64_t channel_id {0}
 channel id
 
std::string name {""}
 名称
 
std::string topic {""}
 主题
 
std::string custom {""}
 自定义字段
 
NIMQChatChannelType type {kNIMQChatChannelTypeText}
 频道类型,0:消息频道
 
std::string owner {""}
 拥有者
 
NIMQChatChannelViewMode view_mode {kNIMQChatChannelViewModePublic}
 查看模式,只有在category_id为0或sync_mode为kNIMQChatChannelSyncModeNoSync时有效
 
bool valid_flag {false}
 有效标记,false:无效 true:有效
 
uint64_t create_time {0}
 创建时间
 
uint64_t update_time {0}
 更新时间
 
uint64_t category_id {0}
 频道分组ID
 
NIMQChatChannelSyncMode sync_mode {kNIMQChatChannelSyncModeSync}
 频道分组同步模式
 
uint64_t reorder_weight {0}
 自定义排序权重值
 

The documentation for this struct was generated from the following file: