11#ifndef __NIM_QCHAT_MEMBER_CPP_DEF_H__
12#define __NIM_QCHAT_MEMBER_CPP_DEF_H__
21 uint64_t server_id{0};
23 uint64_t channel_id{0};
25 std::string accid{
""};
29 std::string avatar{
""};
31 std::string custom{
""};
35 uint64_t join_time{0};
37 std::string inviter{
""};
39 bool valid_flag{
true};
41 uint64_t create_time{0};
43 uint64_t update_time{0};
49 nick = c_param.
nick ? c_param.
nick :
"";
63 c_param.
accid =
const_cast<char*
>(accid.c_str());
64 c_param.
nick =
const_cast<char*
>(nick.c_str());
65 c_param.
avatar =
const_cast<char*
>(avatar.c_str());
66 c_param.
custom =
const_cast<char*
>(custom.c_str());
69 c_param.
inviter =
const_cast<char*
>(inviter.c_str());
80 uint64_t server_id{0};
82 std::string accid{
""};
84 std::string custom{
""};
88 bool valid_flag{
false};
90 uint64_t create_time{0};
92 uint64_t update_time{0};
106 c_param.
accid =
const_cast<char*
>(accid.c_str());
107 c_param.
custom =
const_cast<char*
>(custom.c_str());
#define NIM_QCHAT_SDK_CPPWRAPPER_DLL_API
Definition: nim_qchat_sdk_cpp_wrapper.h:38
Definition: nim_qchat_member_def.h:49
char * accid
用户accid
Definition: nim_qchat_member_def.h:53
uint64_t server_id
server id
Definition: nim_qchat_member_def.h:51
char * custom
自定义字段
Definition: nim_qchat_member_def.h:55
uint64_t create_time
创建时间
Definition: nim_qchat_member_def.h:61
bool valid_flag
有效标记,false:无效 true:有效
Definition: nim_qchat_member_def.h:59
uint64_t ban_time
封禁时间
Definition: nim_qchat_member_def.h:57
uint64_t update_time
更新时间
Definition: nim_qchat_member_def.h:63
Definition: nim_qchat_member_def.h:21
uint32_t type
用户类型,0:普通用户 1:所有者
Definition: nim_qchat_member_def.h:35
uint64_t update_time
更新时间
Definition: nim_qchat_member_def.h:45
char * avatar
头像url
Definition: nim_qchat_member_def.h:31
uint64_t server_id
server id
Definition: nim_qchat_member_def.h:23
uint64_t create_time
创建时间
Definition: nim_qchat_member_def.h:43
char * inviter
邀请人
Definition: nim_qchat_member_def.h:39
char * custom
自定义字段
Definition: nim_qchat_member_def.h:33
bool valid_flag
有效标记,false:无效 true:有效
Definition: nim_qchat_member_def.h:41
uint64_t join_time
加入时间
Definition: nim_qchat_member_def.h:37
char * nick
昵称
Definition: nim_qchat_member_def.h:29
char * accid
用户accid
Definition: nim_qchat_member_def.h:27
uint64_t channel_id
channel id
Definition: nim_qchat_member_def.h:25
Definition: nim_qchat_member_cpp_def.h:78
QChatMemberBanInfo()=default
QChatMemberBanInfo(const NIMQChatMemberBanInfo &c_param)
Definition: nim_qchat_member_cpp_def.h:94
NIMQChatMemberBanInfo ToCParam() const
Definition: nim_qchat_member_cpp_def.h:103
Definition: nim_qchat_member_cpp_def.h:19
QChatMemberInfo()=default
QChatMemberInfo(const NIMQChatMemberInfo &c_param)
Definition: nim_qchat_member_cpp_def.h:45
NIMQChatMemberInfo ToCParam() const
Definition: nim_qchat_member_cpp_def.h:59