11#ifndef __NIM_QCHAT_MEMBER_CPP_DEF_H__
12#define __NIM_QCHAT_MEMBER_CPP_DEF_H__
22 uint64_t server_id{0};
24 uint64_t channel_id{0};
26 std::string accid{
""};
30 std::string avatar{
""};
32 std::string custom{
""};
36 uint64_t join_time{0};
38 std::string inviter{
""};
40 bool valid_flag{
true};
42 uint64_t create_time{0};
44 uint64_t update_time{0};
50 nick = c_param.
nick ? c_param.
nick :
"";
64 c_param.
accid =
const_cast<char*
>(accid.c_str());
65 c_param.
nick =
const_cast<char*
>(nick.c_str());
66 c_param.
avatar =
const_cast<char*
>(avatar.c_str());
67 c_param.
custom =
const_cast<char*
>(custom.c_str());
70 c_param.
inviter =
const_cast<char*
>(inviter.c_str());
81 uint64_t server_id{0};
83 std::string accid{
""};
85 std::string custom{
""};
89 bool valid_flag{
false};
91 uint64_t create_time{0};
93 uint64_t update_time{0};
107 c_param.
accid =
const_cast<char*
>(accid.c_str());
108 c_param.
custom =
const_cast<char*
>(custom.c_str());
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:79
Definition: nim_qchat_member_cpp_def.h:20