NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim::QChatServerInfo结构体 参考

#include <nim_qchat_server_cpp_def.h>

Public 成员函数

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

Public 属性

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}
 自定义排序权重值
 

构造及析构函数说明

◆ QChatServerInfo() [1/2]

nim::QChatServerInfo::QChatServerInfo ( )
default

◆ QChatServerInfo() [2/2]

nim::QChatServerInfo::QChatServerInfo ( const NIMQChatServerInfo c_param)
inline

成员函数说明

◆ ToCParam()

NIMQChatServerInfo nim::QChatServerInfo::ToCParam ( ) const
inline

类成员变量说明

◆ apply_mode

NIMQChatServerApplyMode nim::QChatServerInfo::apply_mode {kNIMQChatServerApplyModeNormal}

申请模式

◆ channel_category_count

uint32_t nim::QChatServerInfo::channel_category_count {0}

总频道分组数量

◆ channel_count

uint32_t nim::QChatServerInfo::channel_count {0}

总频道数量

◆ create_time

uint64_t nim::QChatServerInfo::create_time {0}

创建时间

◆ custom

std::string nim::QChatServerInfo::custom {""}

自定义字段

◆ icon

std::string nim::QChatServerInfo::icon {""}

图标url

◆ invite_mode

邀请模式

◆ member_count

uint64_t nim::QChatServerInfo::member_count {0}

成员数量

◆ name

std::string nim::QChatServerInfo::name {""}

名称

◆ owner_id

std::string nim::QChatServerInfo::owner_id {""}

所有者id

◆ reorder_weight

uint64_t nim::QChatServerInfo::reorder_weight {0}

自定义排序权重值

◆ searchable

bool nim::QChatServerInfo::searchable {true}

是否能被搜索

◆ server_id

uint64_t nim::QChatServerInfo::server_id {0}

server id

◆ server_type

uint32_t nim::QChatServerInfo::server_type {0}

用户自定义服务器类别, 0表示无类别

◆ update_time

uint64_t nim::QChatServerInfo::update_time {0}

更新时间

◆ valid_flag

bool nim::QChatServerInfo::valid_flag {false}

有效标记,false:无效 true:有效


该结构体的文档由以下文件生成: