NIM PC Cross Platform SDK
nim_qchat::QChatServerInfo Struct Reference

Public Member Functions

 QChatServerInfo (const NIMQChatServerInfo &c_param)
 
const NIMQChatServerInfo ToCParam () const
 

Public Attributes

uint64_t server_id {0}
 server id
 
uint32_t server_type {0}
 用户自定义服务器类别, 0表示无类别
 
bool searchable {true}
 是否能被搜索
 
std::string name {""}
 名称
 
std::string icon {""}
 图标url
 
std::string custom {""}
 自定义字段
 
std::string owner_id {""}
 所有者id
 
uint64_t member_count {0}
 成员数量
 
NIMQChatServerInviteMode invite_mode {kNIMQChatServerInviteModeNeedConfirm}
 邀请模式
 
NIMQChatServerApplyMode apply_mode {kNIMQChatServerApplyModeNormal}
 申请模式
 
bool valid_flag {false}
 有效标记,false:无效 true:有效
 
uint32_t channel_count {0}
 总频道数量
 
uint32_t channel_category_count {0}
 总频道分组数量
 
uint64_t create_time {0}
 创建时间
 
uint64_t update_time {0}
 更新时间
 
uint64_t reorder_weight {0}
 自定义排序权重值
 

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