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

#include <nim_qchat_member_cpp_def.h>

Public 成员函数

 QChatMemberInfo ()=default
 
 QChatMemberInfo (const NIMQChatMemberInfo &c_param)
 
NIMQChatMemberInfo ToCParam () const
 

Public 属性

uint64_t server_id {0}
 server id
 
uint64_t channel_id {0}
 channel id
 
std::string accid {""}
 用户accid
 
std::string nick {""}
 昵称
 
std::string avatar {""}
 头像url
 
std::string custom {""}
 自定义字段
 
uint32_t type {0}
 用户类型,0:普通用户 1:所有者
 
uint64_t join_time {0}
 加入时间
 
std::string inviter {""}
 邀请人
 
bool valid_flag {true}
 有效标记,false:无效 true:有效
 
uint64_t create_time {0}
 创建时间
 
uint64_t update_time {0}
 更新时间
 

构造及析构函数说明

◆ QChatMemberInfo() [1/2]

nim::QChatMemberInfo::QChatMemberInfo ( )
default

◆ QChatMemberInfo() [2/2]

nim::QChatMemberInfo::QChatMemberInfo ( const NIMQChatMemberInfo c_param)
inline

成员函数说明

◆ ToCParam()

NIMQChatMemberInfo nim::QChatMemberInfo::ToCParam ( ) const
inline

类成员变量说明

◆ accid

std::string nim::QChatMemberInfo::accid {""}

用户accid

◆ avatar

std::string nim::QChatMemberInfo::avatar {""}

头像url

◆ channel_id

uint64_t nim::QChatMemberInfo::channel_id {0}

channel id

◆ create_time

uint64_t nim::QChatMemberInfo::create_time {0}

创建时间

◆ custom

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

自定义字段

◆ inviter

std::string nim::QChatMemberInfo::inviter {""}

邀请人

◆ join_time

uint64_t nim::QChatMemberInfo::join_time {0}

加入时间

◆ nick

std::string nim::QChatMemberInfo::nick {""}

昵称

◆ server_id

uint64_t nim::QChatMemberInfo::server_id {0}

server id

◆ type

uint32_t nim::QChatMemberInfo::type {0}

用户类型,0:普通用户 1:所有者

◆ update_time

uint64_t nim::QChatMemberInfo::update_time {0}

更新时间

◆ valid_flag

bool nim::QChatMemberInfo::valid_flag {true}

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


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