11#ifndef __NIM_QCHAT_SERVER_CPP_DEF_H__
12#define __NIM_QCHAT_SERVER_CPP_DEF_H__
24 uint64_t server_id{0};
26 uint32_t server_type{0};
28 bool searchable{
true};
34 std::string custom{
""};
36 std::string owner_id{
""};
38 uint64_t member_count{0};
44 bool valid_flag{
false};
46 uint32_t channel_count{0};
48 uint32_t channel_category_count{0};
50 uint64_t create_time{0};
52 uint64_t update_time{0};
54 uint64_t reorder_weight{0};
60 name = c_param.
name ? c_param.
name :
"";
61 icon = c_param.
icon ? c_param.
icon :
"";
79 c_param.
name =
const_cast<char*
>(name.c_str());
80 c_param.
icon =
const_cast<char*
>(icon.c_str());
81 c_param.
custom =
const_cast<char*
>(custom.c_str());
82 c_param.
owner_id =
const_cast<char*
>(owner_id.c_str());
105 uint64_t update_time{0};
115 c_param.
accid =
const_cast<char*
>(accid.c_str());
145 c_param.
update_accid =
const_cast<char*
>(update_accid.c_str());
167 c_invite_user_infos.clear();
168 for (
auto&& user_info : invite_user_infos) {
169 c_invite_user_infos.push_back(user_info.ToCParam());
177 mutable std::vector<NIMQChatInviteUserInfo> c_invite_user_infos;
206 uint32_t invite_count{0};
216 c_param.
invite_code =
const_cast<char*
>(invite_code.c_str());
240 c_param.
invite_code =
const_cast<char*
>(invite_code.c_str());
252 uint64_t server_id{0};
256 uint64_t request_id{0};
258 uint64_t record_id{0};
260 uint64_t create_time{0};
262 uint64_t update_time{0};
264 uint64_t expire_time{0};
266 std::shared_ptr<QChatInviteApplyRecordData>
data;
282 data = std::make_shared<QChatApplyInfoData>(c_param.
apply_data);
285 data = std::make_shared<QChatInviteInfoData>(c_param.
invite_data);
288 data = std::make_shared<QChatBeInvitedInfoData>(c_param.
be_invited_data);
301 c_param.
accid =
const_cast<char*
>(accid.c_str());
327 c_param.
raw_data =
const_cast<char*
>(raw_data.c_str());
335 uint32_t res_code{0};
364 uint32_t res_code{0};
366 std::list<QChatServerInfo> server_list{};
380 for (
auto&& info : server_list) {
381 vec_servers.push_back(info.ToCParam());
383 c_response.server_list_count = vec_servers.size();
384 c_response.server_list = vec_servers.data();
389 mutable std::vector<NIMQChatServerInfo> vec_servers;
409 c_response.page_info = page_info.ToCParam();
411 for (
auto&& info : server_list) {
412 vec_servers.push_back(info.ToCParam());
414 c_response.server_list_count = vec_servers.size();
415 c_response.server_list = vec_servers.data();
423 uint32_t res_code{0};
425 uint64_t request_id{0};
427 uint64_t expire_time{0};
429 std::map<std::string, NIMQChatServerInviteFailReason>
fail_map;
445 vec_fail_reason.clear();
446 for (
auto&& pair : fail_map) {
447 vec_accids.push_back(
const_cast<char*
>(pair.first.c_str()));
448 vec_fail_reason.push_back(pair.second);
451 c_resp.
accids = vec_accids.data();
457 mutable std::vector<char*> vec_accids;
458 mutable std::vector<NIMQChatServerInviteFailReason> vec_fail_reason;
470 uint32_t res_code{0};
472 uint64_t request_id{0};
474 uint64_t expire_time{0};
508 uint32_t res_code{0};
510 std::list<QChatMemberInfo> member_list{};
524 for (
auto&& info : member_list) {
525 vec_members.push_back(info.ToCParam());
527 c_response.member_list_count = vec_members.size();
528 c_response.member_list = vec_members.data();
533 mutable std::vector<NIMQChatMemberInfo> vec_members;
552 c_response.page_info = page_info.ToCParam();
554 for (
auto&& info : member_list) {
555 vec_members.push_back(info.ToCParam());
557 c_response.member_list_count = vec_members.size();
558 c_response.member_list = vec_members.data();
566 uint32_t res_code{0};
568 std::vector<uint64_t> failed_servers{};
579 c_resp.
failed_servers =
const_cast<uint64_t*
>(failed_servers.data());
594 uint32_t res_code{0};
598 std::list<QChatMemberBanInfo> ban_list{};
606 ban_list.emplace_back(c_resp.
ban_list[i]);
612 c_response.page_info = page_info.ToCParam();
614 for (
auto&& info : ban_list) {
615 c_ban_list.push_back(info.ToCParam());
617 c_response.ban_list_count = c_ban_list.size();
618 c_response.ban_list = c_ban_list.data();
623 mutable std::vector<NIMQChatMemberBanInfo> c_ban_list;
635 std::vector<NIMQChatServerUnreadInfo> unread_infos{};
647 uint32_t res_code{0};
649 uint64_t server_id{0};
651 uint64_t request_id{0};
655 uint64_t expire_time{0};
667 c_response.server_id = server_id;
668 c_response.request_id = request_id;
669 c_response.invite_code =
const_cast<char*
>(invite_code.c_str());
670 c_response.expire_time = expire_time;
681 uint32_t res_code{0};
683 std::vector<QChatInviteApplyRecord> invite_apply_records{};
694 c_invite_apply_records.clear();
695 for (
auto&& info : invite_apply_records) {
696 c_invite_apply_records.push_back(info.ToCParam());
698 c_response.invite_apply_records_count = c_invite_apply_records.size();
704 mutable std::vector<NIMQChatInviteApplyRecord> c_invite_apply_records;
713 uint32_t res_code{0};
715 std::vector<uint64_t> succeeded_servers{};
717 std::vector<uint64_t> failed_servers{};
719 uint64_t timestamp{0};
734 c_response.succeeded_servers =
const_cast<uint64_t*
>(succeeded_servers.data());
735 c_response.succeeded_servers_count = succeeded_servers.size();
736 c_response.failed_servers =
const_cast<uint64_t*
>(failed_servers.data());
737 c_response.failed_servers_count = failed_servers.size();
738 c_response.timestamp = timestamp;
746 uint32_t res_code{0};
748 std::vector<uint64_t> failed_servers{};
750 std::vector<NIMQChatUnreadInfo> unread_infos{};
764 c_response.failed_servers =
const_cast<uint64_t*
>(failed_servers.data());
765 c_response.failed_servers_count = failed_servers.size();
767 c_response.unread_infos_count = unread_infos.size();
859 auto c_response = response.ToCParam();
860 c_response.user_data = user_data;
861 c_callback(c_response);
869 InvokeCallback<ServerCreateCallback, NIMQChatServerCreateResp>(resp);
882 uint64_t server_id{0};
887 auto c_response = response.ToCParam();
888 c_response.user_data = user_data;
889 c_callback(c_response);
897 InvokeCallback<ServerRemoveCallback, NIMQChatServerDeleteResp>(resp);
917 auto c_response = response.ToCParam();
918 c_response.user_data = user_data;
919 c_callback(c_response);
927 InvokeCallback<ServerUpdateCallback, NIMQChatServerUpdateResp>(resp);
940 std::vector<uint64_t> server_ids{};
946 cb = [c_callback = c_param.
cb, user_data = c_param.
user_data](
const QChatServerGetServersResp& response) {
947 auto c_response = response.ToCParam();
949 c_callback(c_response);
957 InvokeCallback<GetServersCallback, NIMQChatServerGetServersResp>(resp);
960 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
970 uint64_t timestamp{0};
976 limit = c_param.
limit;
978 auto c_response = response.ToCParam();
979 c_response.user_data = user_data;
980 c_callback(c_response);
988 InvokeCallback<GetServersPageCallback, NIMQChatServerGetServersPageResp>(resp);
1001 uint64_t server_id{0};
1003 std::list<std::string> invite_ids{};
1017 auto c_response = response.ToCParam();
1018 c_response.user_data = user_data;
1019 c_callback(c_response);
1025 vec_invite_ids.clear();
1026 for (
auto&&
id : invite_ids) {
1027 vec_invite_ids.push_back(
const_cast<char*
>(
id.c_str()));
1033 InvokeCallback<ServerInviteCallback, NIMQChatServerInviteResp>(resp);
1037 param.
postscript =
const_cast<char*
>(postscript.c_str());
1042 mutable std::vector<char*> vec_invite_ids{};
1050 uint64_t server_id{0};
1052 std::string accid{
""};
1058 accid = c_param.
accid;
1061 auto c_response = response.ToCParam();
1062 c_response.user_data = user_data;
1063 c_callback(c_response);
1071 InvokeCallback<ServerAcceptInviteCallback, NIMQChatServerAcceptInviteResp>(resp);
1074 param.
accid =
const_cast<char*
>(accid.c_str());
1085 uint64_t server_id{0};
1087 std::string accid{
""};
1095 accid = c_param.
accid;
1099 auto c_response = response.ToCParam();
1100 c_response.user_data = user_data;
1101 c_callback(c_response);
1109 InvokeCallback<ServerRejectInviteCallback, NIMQChatServerRejectInviteResp>(resp);
1112 param.
accid =
const_cast<char*
>(accid.c_str());
1113 param.
postscript =
const_cast<char*
>(postscript.c_str());
1124 uint64_t server_id{0};
1135 auto c_response = response.ToCParam();
1136 c_response.user_data = user_data;
1137 c_callback(c_response);
1145 InvokeCallback<ServerApplyCallback, NIMQChatServerApplyResp>(resp);
1149 param.
postscript =
const_cast<char*
>(postscript.c_str());
1159 uint64_t server_id{0};
1161 std::string accid{
""};
1167 accid = c_param.
accid;
1170 auto c_response = response.ToCParam();
1171 c_response.user_data = user_data;
1172 c_callback(c_response);
1180 InvokeCallback<ServerAcceptApplyCallback, NIMQChatServerAcceptApplyResp>(resp);
1183 param.
accid =
const_cast<char*
>(accid.c_str());
1194 uint64_t server_id{0};
1196 std::string accid{
""};
1204 accid = c_param.
accid;
1208 auto c_response = response.ToCParam();
1209 c_response.user_data = user_data;
1210 c_callback(c_response);
1218 InvokeCallback<ServerRejectApplyCallback, NIMQChatServerRejectApplyResp>(resp);
1221 param.
accid =
const_cast<char*
>(accid.c_str());
1222 param.
postscript =
const_cast<char*
>(postscript.c_str());
1233 uint64_t server_id{0};
1235 std::list<std::string> accids{};
1240 accids.push_back(c_param.
accids[i]);
1243 auto c_response = response.ToCParam();
1244 c_response.user_data = user_data;
1245 c_callback(c_response);
1252 for (
auto&&
id : accids) {
1253 vec_accids.push_back(
const_cast<char*
>(
id.c_str()));
1256 param.
accids = vec_accids.data();
1259 InvokeCallback<ServerKickCallback, NIMQChatServerKickResp>(resp);
1267 mutable std::vector<char*> vec_accids;
1275 uint64_t server_id{0};
1280 auto c_response = response.ToCParam();
1281 c_response.user_data = user_data;
1282 c_callback(c_response);
1290 InvokeCallback<ServerLeaveCallback, NIMQChatServerLeaveResp>(resp);
1310 auto c_response = response.ToCParam();
1311 c_response.user_data = user_data;
1312 c_callback(c_response);
1320 InvokeCallback<ServerUpdateMemberInfoCallback, NIMQChatServerUpdateMemberInfoResp>(resp);
1336 server_accid_list.clear();
1338 server_accid_list.push_back(
1342 auto c_response = response.ToCParam();
1344 c_callback(c_response);
1349 for (
auto&& item : server_accid_list) {
1351 pair.server_id = item.first;
1352 pair.accid =
const_cast<char*
>(item.second.c_str());
1353 vec_server_accid_list.push_back(pair);
1360 InvokeCallback<ServerGetMembersCallback, NIMQChatServerGetMembersResp>(resp);
1367 mutable std::vector<NIMQChatServerMemberPair> vec_server_accid_list;
1375 uint64_t server_id{0};
1377 uint64_t timestamp{0};
1379 uint32_t limit{100};
1384 limit = c_param.
limit;
1386 auto c_response = response.ToCParam();
1387 c_response.user_data = user_data;
1388 c_callback(c_response);
1396 InvokeCallback<ServerGetMembersPageCallback, NIMQChatServerGetMembersPageResp>(resp);
1400 param.
limit = limit;
1414 std::vector<uint64_t> server_ids{};
1422 cb = [c_callback = c_param.
cb, user_data = c_param.
user_data](
const QChatServerSubscribeResp& response) {
1423 auto c_response = response.ToCParam();
1424 c_response.user_data = user_data;
1425 c_callback(c_response);
1433 InvokeCallback<ServerSubscribeCallback, NIMQChatServerSubscribeResp>(resp);
1438 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
1448 uint64_t server_id{0};
1456 accid = c_param.
accid;
1459 auto c_response = response.ToCParam();
1460 c_response.user_data = user_data;
1461 c_callback(c_response);
1469 InvokeCallback<ServerBanMemberCallback, NIMQChatServerBanMemberResp>(resp);
1472 param.
accid =
const_cast<char*
>(accid.c_str());
1473 param.
custom =
const_cast<char*
>(custom.c_str());
1483 uint64_t server_id{0};
1491 accid = c_param.
accid;
1494 auto c_response = response.ToCParam();
1495 c_response.user_data = user_data;
1496 c_callback(c_response);
1504 InvokeCallback<ServerUnbanMemberCallback, NIMQChatServerUnbanMemberResp>(resp);
1507 param.
accid =
const_cast<char*
>(accid.c_str());
1508 param.
custom =
const_cast<char*
>(custom.c_str());
1518 uint64_t server_id{0};
1520 uint64_t timestamp{0};
1522 uint32_t limit{100};
1527 limit = c_param.
limit;
1529 auto c_response = response.ToCParam();
1530 c_response.user_data = user_data;
1531 c_callback(c_response);
1539 InvokeCallback<ServerGetBannedMembersPageCallback, NIMQChatServerGetBannedMembersPageResp>(resp);
1543 param.
limit = limit;
1553 std::string keyword{
""};
1555 uint64_t start_time{0};
1557 uint64_t end_time{0};
1567 uint32_t limit{100};
1569 std::string cursor{
""};
1575 order = c_param.
order;
1576 sort = c_param.
sort;
1581 limit = c_param.
limit;
1584 auto c_response = response.ToCParam();
1585 c_response.user_data = user_data;
1586 c_callback(c_response);
1594 InvokeCallback<ServerSearchPageCallback, NIMQChatServerSearchPageResp>(resp);
1596 param.
keyword =
const_cast<char*
>(keyword.c_str());
1599 param.
order = order;
1601 param.
server_types =
const_cast<uint32_t*
>(server_types.data());
1604 param.
limit = limit;
1605 param.
cursor =
const_cast<char*
>(cursor.c_str());
1615 uint64_t server_id{0};
1617 std::string keyword{
""};
1619 uint32_t limit{100};
1624 limit = c_param.
limit;
1626 auto c_response = response.ToCParam();
1627 c_response.user_data = user_data;
1628 c_callback(c_response);
1636 InvokeCallback<ServerMemberSearchCallback, NIMQChatServerMemberSearchResp>(resp);
1639 param.
keyword =
const_cast<char*
>(keyword.c_str());
1640 param.
limit = limit;
1650 uint64_t server_id{0};
1658 auto c_response = response.ToCParam();
1659 c_response.user_data = user_data;
1660 c_callback(c_response);
1668 InvokeCallback<ServerGenerateInviteCodeCallback, NIMQChatServerGenerateInviteCodeResp>(resp);
1681 uint64_t server_id{0};
1692 auto c_response = response.ToCParam();
1693 c_response.user_data = user_data;
1694 c_callback(c_response);
1702 InvokeCallback<ServerJoinByInviteCodeCallback, NIMQChatServerJoinByInviteCodeResp>(resp);
1705 param.
invite_code =
const_cast<char*
>(invite_code.c_str());
1706 param.
postscript =
const_cast<char*
>(postscript.c_str());
1716 uint64_t server_id{0};
1718 uint64_t start_time{0};
1720 uint64_t end_time{0};
1722 bool reverse{
false};
1726 uint64_t exclude_record_id{0};
1733 limit = c_param.
limit;
1736 auto c_response = response.ToCParam();
1737 c_response.user_data = user_data;
1738 c_callback(c_response);
1746 InvokeCallback<ServerGetInviteApplyRecordOfServerCallback, NIMQChatServerGetInviteApplyRecordOfServerResp>(resp);
1752 param.
limit = limit;
1763 uint64_t start_time{0};
1765 uint64_t end_time{0};
1767 bool reverse{
false};
1771 uint64_t exclude_record_id{0};
1777 limit = c_param.
limit;
1780 auto c_response = response.ToCParam();
1781 c_response.user_data = user_data;
1782 c_callback(c_response);
1790 InvokeCallback<ServerGetInviteApplyRecordOfSelfCallback, NIMQChatServerGetInviteApplyRecordOfSelfResp>(resp);
1795 param.
limit = limit;
1813 auto c_response = response.ToCParam();
1815 c_callback(c_response);
1823 InvokeCallback<ServerMarkReadCallback, NIMQChatServerMarkReadResp>(resp);
1826 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
1846 auto c_response = response.ToCParam();
1847 c_response.user_data = user_data;
1848 c_callback(c_response);
1856 InvokeCallback<ServerSubscribeAllChannelCallback, NIMQChatServerSubscribeAllChannelResp>(resp);
1860 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
std::function< void(const QChatServerGenerateInviteCodeResp &)> ServerGenerateInviteCodeCallback
生成邀请码回调
Definition: nim_qchat_server_cpp_def.h:819
std::function< void(const QChatServerUnbanMemberResp &)> ServerUnbanMemberCallback
解封成员回调
Definition: nim_qchat_server_cpp_def.h:811
std::function< void(const QChatServerMarkReadResp &)> ServerMarkReadCallback
服务器标记已读
Definition: nim_qchat_server_cpp_def.h:827
std::function< void(const QChatServerAcceptInviteResp &)> ServerAcceptInviteCallback
接受邀请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:787
std::function< void(const QChatServerJoinByInviteCodeResp &)> ServerJoinByInviteCodeCallback
通过邀请码加入回调
Definition: nim_qchat_server_cpp_def.h:821
std::function< void(const QChatServerAcceptApplyResp &)> ServerAcceptApplyCallback
接受申请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:793
std::function< void(const QChatServerRejectApplyResp &)> ServerRejectApplyCallback
拒绝申请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:795
std::function< void(const QChatServerInviteResp &)> ServerInviteCallback
邀请用户加入服务器回调
Definition: nim_qchat_server_cpp_def.h:785
std::function< void(const QChatServerGetInviteApplyRecordOfServerResp &)> ServerGetInviteApplyRecordOfServerCallback
查询服务器下的申请邀请记录回调
Definition: nim_qchat_server_cpp_def.h:823
std::function< void(const QChatServerSubscribeResp &)> ServerSubscribeCallback
订阅回调
Definition: nim_qchat_server_cpp_def.h:807
std::function< void(const QChatServerGetBannedMembersPageResp &)> ServerGetBannedMembersPageCallback
查询服务器成员封禁列表分页回调
Definition: nim_qchat_server_cpp_def.h:813
std::function< void(const QChatServerSubscribeAllChannelResp &)> ServerSubscribeAllChannelCallback
订阅所有频道
Definition: nim_qchat_server_cpp_def.h:829
std::function< void(const QChatServerDeleteResp &)> ServerRemoveCallback
删除服务器回调
Definition: nim_qchat_server_cpp_def.h:777
std::function< void(const QChatServerUpdateResp &)> ServerUpdateCallback
更新服务器回调
Definition: nim_qchat_server_cpp_def.h:779
std::function< void(const QChatServerKickResp &)> ServerKickCallback
踢出服务器回调
Definition: nim_qchat_server_cpp_def.h:797
std::function< void(const QChatServerRejectInviteResp &)> ServerRejectInviteCallback
拒绝邀请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:789
std::function< void(const QChatServerLeaveResp &)> ServerLeaveCallback
离开服务器回调
Definition: nim_qchat_server_cpp_def.h:799
std::function< void(const QChatServerGetMembersResp &)> ServerGetMembersCallback
查询服务器成员列表回调
Definition: nim_qchat_server_cpp_def.h:803
GetServersPageCallback ServerSearchPageCallback
搜索服务器分页回调
Definition: nim_qchat_server_cpp_def.h:815
std::function< void(const QChatServerGetServersResp &)> GetServersCallback
查询服务器列表回调
Definition: nim_qchat_server_cpp_def.h:781
std::function< void(const QChatServerUpdateMemberInfoResp &)> ServerUpdateMemberInfoCallback
更新服务器成员信息回调
Definition: nim_qchat_server_cpp_def.h:801
std::function< void(const QChatServerGetInviteApplyRecordOfSelfResp &)> ServerGetInviteApplyRecordOfSelfCallback
查询自己的申请邀请记录回调
Definition: nim_qchat_server_cpp_def.h:825
std::function< void(const QChatServerApplyResp &)> ServerApplyCallback
申请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:791
std::function< void(const QChatServerCreateResp &)> ServerCreateCallback
创建服务器回调
Definition: nim_qchat_server_cpp_def.h:775
std::function< void(const QChatServerBanMemberResp &)> ServerBanMemberCallback
封禁成员回调
Definition: nim_qchat_server_cpp_def.h:809
ServerGetMembersCallback ServerMemberSearchCallback
搜索服务器成员分页回调
Definition: nim_qchat_server_cpp_def.h:817
std::function< void(const QChatServerGetServersPageResp &)> GetServersPageCallback
查询服务器列表分页回调
Definition: nim_qchat_server_cpp_def.h:783
std::function< void(const QChatServerGetMembersPageResp &)> ServerGetMembersPageCallback
查询服务器成员列表分页回调
Definition: nim_qchat_server_cpp_def.h:805
std::function< void(const QChatServerUnreadResp &)> ServerUnreadCallback
未读数回调
Definition: nim_qchat_server_cpp_def.h:773
@ kNIMResSuccess
Definition: nim_chatroom_res_code_def.h:18
NIMQChatSubscribeType
Definition: nim_qchat_public_def.h:45
@ kNIMQChatSubscribeTypeServerNotification
订阅某个server的【通知】
Definition: nim_qchat_public_def.h:55
NIMQChatServerSearchSort
服务器搜索排序规则
Definition: nim_qchat_public_def.h:90
@ kNIMQChatServerSearchSortCreateTime
创建时间排序
Definition: nim_qchat_public_def.h:94
NIMQChatSearchOrder
搜索排序顺序
Definition: nim_qchat_public_def.h:82
@ kNIMQChatSearchOrderAsc
按时间正序
Definition: nim_qchat_public_def.h:84
NIMQChatSubscribeOpeType
Definition: nim_qchat_public_def.h:37
@ kNIMQChatSubscribeOpeTypeSubscribe
订阅
Definition: nim_qchat_public_def.h:39
NIMQChatServerInviteMode
Definition: nim_qchat_server_def.h:22
@ kNIMQChatServerInviteModeNeedConfirm
需要验证
Definition: nim_qchat_server_def.h:24
NIMQChatInviteApplyRecordType
Definition: nim_qchat_server_def.h:89
@ kNIMQChatInviteApplyRecordTypeInvite
邀请
Definition: nim_qchat_server_def.h:93
@ kNIMQChatInviteApplyRecordTypeJoinByInviteCode
通过邀请码加入
Definition: nim_qchat_server_def.h:99
@ kNIMQChatInviteApplyRecordTypeGenerateInviteCode
生成邀请码
Definition: nim_qchat_server_def.h:97
@ kNIMQChatInviteApplyRecordTypeApply
申请
Definition: nim_qchat_server_def.h:91
@ kNIMQChatInviteApplyRecordTypeBeInvited
被邀请
Definition: nim_qchat_server_def.h:95
NIMQChatServerInviteFailReason
Definition: nim_qchat_server_def.h:37
NIMQChatInviteApplyRecordStatus
Definition: nim_qchat_server_def.h:103
@ kNIMQChatInviteApplyRecordStatusInitial
初始状态
Definition: nim_qchat_server_def.h:105
NIMQChatServerApplyMode
Definition: nim_qchat_server_def.h:29
@ kNIMQChatServerApplyModeNormal
不需要验证
Definition: nim_qchat_server_def.h:31
NIMQChatServerSearchType
Definition: nim_qchat_server_def.h:45
@ kNIMQChatServerSearchTypeSquare
广场搜索
Definition: nim_qchat_server_def.h:47
Definition: nim_qchat_server_def.h:121
char * apply_postscript
申请附言
Definition: nim_qchat_server_def.h:123
char * update_postscript
更新附言
Definition: nim_qchat_server_def.h:127
char * update_accid
更新者 id
Definition: nim_qchat_server_def.h:125
Definition: nim_qchat_server_def.h:153
char * update_postscript
更新附言
Definition: nim_qchat_server_def.h:157
char * invite_postscript
邀请附言
Definition: nim_qchat_server_def.h:155
Definition: nim_qchat_server_def.h:161
uint32_t invite_count
邀请人数
Definition: nim_qchat_server_def.h:167
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:165
char * invite_postscript
邀请附言
Definition: nim_qchat_server_def.h:163
Definition: nim_qchat_server_def.h:181
NIMQChatBeInvitedInfoData be_invited_data
被邀请数据
Definition: nim_qchat_server_def.h:208
NIMQChatJoinByInviteCodeInfoData join_by_invite_code_data
通过邀请码加入数据
Definition: nim_qchat_server_def.h:212
NIMQChatApplyInfoData apply_data
申请数据
Definition: nim_qchat_server_def.h:204
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:187
NIMQChatGenerateInviteCodeInfoData generate_invite_code_data
生成邀请码数据
Definition: nim_qchat_server_def.h:210
char * accid
accid
Definition: nim_qchat_server_def.h:183
uint64_t update_time
更新时间
Definition: nim_qchat_server_def.h:197
NIMQChatInviteApplyRecordType type
type
Definition: nim_qchat_server_def.h:185
uint64_t create_time
创建时间
Definition: nim_qchat_server_def.h:195
uint64_t record_id
记录ID
Definition: nim_qchat_server_def.h:193
uint64_t expire_time
过期时间
Definition: nim_qchat_server_def.h:199
char * raw_data
邀请申请信息原始Json数据
Definition: nim_qchat_server_def.h:201
NIMQChatInviteInfoData invite_data
邀请数据
Definition: nim_qchat_server_def.h:206
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:191
NIMQChatInviteApplyRecordStatus status
状态
Definition: nim_qchat_server_def.h:189
Definition: nim_qchat_server_def.h:143
char * invite_postscript
邀请附言
Definition: nim_qchat_server_def.h:145
NIMQChatInviteUserInfo * invite_user_infos
邀请成员信息列表
Definition: nim_qchat_server_def.h:147
size_t invite_user_infos_count
邀请成员信息列表数量
Definition: nim_qchat_server_def.h:149
Definition: nim_qchat_server_def.h:131
NIMQChatInviteApplyRecordStatus status
状态
Definition: nim_qchat_server_def.h:137
char * accid
accid
Definition: nim_qchat_server_def.h:133
uint64_t update_time
更新时间
Definition: nim_qchat_server_def.h:139
char * update_postscript
更新附言
Definition: nim_qchat_server_def.h:135
Definition: nim_qchat_server_def.h:171
char * update_postscript
更新附言
Definition: nim_qchat_server_def.h:175
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:177
char * invite_postscript
邀请附言
Definition: nim_qchat_server_def.h:173
Definition: nim_qchat_server_def.h:639
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:649
char * accid
申请人 id
Definition: nim_qchat_server_def.h:647
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:645
nim_qchat_server_accept_apply_cb_func cb
接受申请异步回调
Definition: nim_qchat_server_def.h:641
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:643
Definition: nim_qchat_server_def.h:595
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:605
nim_qchat_server_accept_invite_cb_func cb
接受邀请异步回调
Definition: nim_qchat_server_def.h:597
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:599
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:601
char * accid
邀请人 id
Definition: nim_qchat_server_def.h:603
Definition: nim_qchat_server_def.h:625
nim_qchat_server_apply_cb_func cb
申请加入异步回调
Definition: nim_qchat_server_def.h:627
char * postscript
附言
Definition: nim_qchat_server_def.h:635
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:629
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:631
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:633
Definition: nim_qchat_server_def.h:283
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:285
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:289
uint64_t expire_time
过期时间
Definition: nim_qchat_server_def.h:291
Definition: nim_qchat_server_def.h:753
char * accid
用户id
Definition: nim_qchat_server_def.h:761
char * custom
自定义字段
Definition: nim_qchat_server_def.h:763
nim_qchat_server_ban_member_cb_func cb
封禁成员异步回调
Definition: nim_qchat_server_def.h:755
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:759
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:757
Definition: nim_qchat_server_def.h:519
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:527
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:523
nim_qchat_server_create_cb_func cb
创建会话异步回调
Definition: nim_qchat_server_def.h:521
NIMQChatServerInfo server_info
服务器信息
Definition: nim_qchat_server_def.h:525
Definition: nim_qchat_server_def.h:217
NIMQChatServerInfo server_info
服务器 id
Definition: nim_qchat_server_def.h:223
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:219
Definition: nim_qchat_server_def.h:531
nim_qchat_server_remove_cb_func cb
删除会话异步回调
Definition: nim_qchat_server_def.h:533
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:537
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:535
Definition: nim_qchat_server_def.h:837
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:845
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:841
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:843
nim_qchat_server_generate_invite_code_cb_func cb
生成邀请码异步回调
Definition: nim_qchat_server_def.h:839
Definition: nim_qchat_server_def.h:384
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:394
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:392
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:386
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:390
uint64_t expire_time
过期时间
Definition: nim_qchat_server_def.h:396
Definition: nim_qchat_server_def.h:781
nim_qchat_server_get_banned_members_page_cb_func cb
查询封禁成员列表异步回调
Definition: nim_qchat_server_def.h:783
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:791
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:787
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:789
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:785
Definition: nim_qchat_server_def.h:354
size_t ban_list_count
封禁成员信息列表数量
Definition: nim_qchat_server_def.h:362
NIMQChatMemberBanInfo * ban_list
封禁成员信息列表
Definition: nim_qchat_server_def.h:364
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_server_def.h:360
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:356
Definition: nim_qchat_server_def.h:883
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:891
nim_qchat_server_get_invite_apply_record_by_self_cb_func cb
查询自己邀请申请历史异步回调
Definition: nim_qchat_server_def.h:885
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:895
bool reverse
是否倒序, false: 否, true: 是
Definition: nim_qchat_server_def.h:893
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:887
uint64_t exclude_record_id
要排除的记录id
Definition: nim_qchat_server_def.h:897
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:889
Definition: nim_qchat_server_def.h:863
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:869
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:877
bool reverse
是否倒序, false: 否, true: 是
Definition: nim_qchat_server_def.h:875
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:871
uint64_t exclude_record_id
要排除的记录id
Definition: nim_qchat_server_def.h:879
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:873
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:867
nim_qchat_server_get_invite_apply_record_of_server_cb_func cb
查询服务器下邀请申请历史异步回调
Definition: nim_qchat_server_def.h:865
Definition: nim_qchat_server_def.h:403
size_t invite_apply_records_count
邀请申请历史列表数量
Definition: nim_qchat_server_def.h:409
NIMQChatInviteApplyRecord * invite_apply_records
邀请申请历史列表
Definition: nim_qchat_server_def.h:411
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:405
Definition: nim_qchat_server_def.h:723
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:731
nim_qchat_server_get_members_page_cb_func cb
查询成员列表异步回调
Definition: nim_qchat_server_def.h:725
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:729
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:727
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:733
Definition: nim_qchat_server_def.h:322
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:324
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_server_def.h:328
NIMQChatMemberInfo * member_list
成员信息列表
Definition: nim_qchat_server_def.h:332
size_t member_list_count
成员信息列表数量
Definition: nim_qchat_server_def.h:330
Definition: nim_qchat_server_def.h:711
nim_qchat_server_get_members_cb_func cb
查询成员列表异步回调
Definition: nim_qchat_server_def.h:713
NIMQChatServerMemberPair * server_accid_list
服务器id和accid列表
Definition: nim_qchat_server_def.h:717
size_t server_accid_list_count
服务器id和accid列表长度
Definition: nim_qchat_server_def.h:719
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:715
Definition: nim_qchat_server_def.h:310
size_t member_list_count
成员信息列表数量
Definition: nim_qchat_server_def.h:316
NIMQChatMemberInfo * member_list
成员信息列表
Definition: nim_qchat_server_def.h:318
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:312
Definition: nim_qchat_server_def.h:565
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:571
nim_qchat_server_get_servers_page_cb_func cb
查询会话列表分页异步回调
Definition: nim_qchat_server_def.h:567
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:569
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:573
Definition: nim_qchat_server_def.h:245
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_server_def.h:251
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:247
size_t server_list_count
服务器列表数量
Definition: nim_qchat_server_def.h:253
NIMQChatServerInfo * server_list
服务器列表
Definition: nim_qchat_server_def.h:255
Definition: nim_qchat_server_def.h:553
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:561
nim_qchat_server_get_servers_cb_func cb
查询会话列表异步回调
Definition: nim_qchat_server_def.h:555
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:559
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:557
Definition: nim_qchat_server_def.h:233
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:235
NIMQChatServerInfo * server_list
服务器列表
Definition: nim_qchat_server_def.h:241
size_t server_list_count
服务器列表数量
Definition: nim_qchat_server_def.h:239
Definition: nim_qchat_server_def.h:53
NIMQChatServerApplyMode apply_mode
申请模式
Definition: nim_qchat_server_def.h:73
uint64_t reorder_weight
自定义排序权重值
Definition: nim_qchat_server_def.h:85
char * icon
图标 url
Definition: nim_qchat_server_def.h:63
char * owner_id
所有者 id
Definition: nim_qchat_server_def.h:67
char * custom
自定义字段
Definition: nim_qchat_server_def.h:65
uint64_t member_count
成员数量
Definition: nim_qchat_server_def.h:69
bool searchable
是否能被搜索
Definition: nim_qchat_server_def.h:59
uint32_t server_type
用户自定义服务器类别, 0表示无类别
Definition: nim_qchat_server_def.h:57
uint32_t channel_category_count
总频道分组数量
Definition: nim_qchat_server_def.h:79
uint64_t create_time
创建时间
Definition: nim_qchat_server_def.h:81
char * name
名称
Definition: nim_qchat_server_def.h:61
uint32_t channel_count
该服务器下频道总数
Definition: nim_qchat_server_def.h:77
uint64_t server_id
server id
Definition: nim_qchat_server_def.h:55
NIMQChatServerInviteMode invite_mode
邀请模式
Definition: nim_qchat_server_def.h:71
bool valid_flag
有效标记,false:无效 true:有效
Definition: nim_qchat_server_def.h:75
uint64_t update_time
更新时间
Definition: nim_qchat_server_def.h:83
Definition: nim_qchat_server_def.h:577
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:583
size_t invite_ids_count
受邀人 id 列表长度
Definition: nim_qchat_server_def.h:587
char * postscript
附言
Definition: nim_qchat_server_def.h:591
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:589
char ** invite_ids
受邀人 id 列表
Definition: nim_qchat_server_def.h:585
nim_qchat_server_invite_cb_func cb
邀请异步回调
Definition: nim_qchat_server_def.h:579
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:581
Definition: nim_qchat_server_def.h:259
NIMQChatServerInviteFailReason * fail_reasons
邀请失败原因列表
Definition: nim_qchat_server_def.h:273
uint64_t expire_time
过期时间
Definition: nim_qchat_server_def.h:267
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:265
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:261
size_t accids_count
邀请失败 id 列表数量
Definition: nim_qchat_server_def.h:269
char ** accids
邀请失败 id 列表
Definition: nim_qchat_server_def.h:271
Definition: nim_qchat_server_def.h:849
nim_qchat_server_join_by_invite_code_cb_func cb
通过邀请码加入异步回调
Definition: nim_qchat_server_def.h:851
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:857
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:853
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:855
char * postscript
附言
Definition: nim_qchat_server_def.h:859
Definition: nim_qchat_server_def.h:669
char ** accids
被踢人 id 列表
Definition: nim_qchat_server_def.h:677
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:675
size_t accids_count
被踢人 id 列表长度
Definition: nim_qchat_server_def.h:679
nim_qchat_server_kick_cb_func cb
踢人异步回调
Definition: nim_qchat_server_def.h:671
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:673
Definition: nim_qchat_server_def.h:683
nim_qchat_server_leave_cb_func cb
离开异步回调
Definition: nim_qchat_server_def.h:685
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:687
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:689
Definition: nim_qchat_server_def.h:901
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:905
nim_qchat_server_mark_read_cb_func cb
标记服务器下消息已读异步回调
Definition: nim_qchat_server_def.h:903
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:909
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:907
Definition: nim_qchat_server_def.h:418
size_t succeeded_servers_count
订阅成功列表数量
Definition: nim_qchat_server_def.h:426
uint64_t timestamp
标记已读时间戳
Definition: nim_qchat_server_def.h:432
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:420
size_t failed_servers_count
订阅失败列表数量
Definition: nim_qchat_server_def.h:430
uint64_t * succeeded_servers
订阅成功列表
Definition: nim_qchat_server_def.h:424
uint64_t * failed_servers
订阅失败列表
Definition: nim_qchat_server_def.h:428
Definition: nim_qchat_server_def.h:705
Definition: nim_qchat_server_def.h:823
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:829
nim_qchat_server_member_search_cb_func cb
搜索异步回调
Definition: nim_qchat_server_def.h:825
char * keyword
搜索内容
Definition: nim_qchat_server_def.h:831
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:827
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:833
Definition: nim_qchat_server_def.h:513
Definition: nim_qchat_server_def.h:653
char * postscript
附言
Definition: nim_qchat_server_def.h:663
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:659
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:657
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:665
char * accid
申请人 id
Definition: nim_qchat_server_def.h:661
nim_qchat_server_reject_apply_cb_func cb
拒绝申请异步回调
Definition: nim_qchat_server_def.h:655
Definition: nim_qchat_server_def.h:609
nim_qchat_server_reject_invite_cb_func cb
拒绝邀请异步回调
Definition: nim_qchat_server_def.h:611
char * postscript
附言
Definition: nim_qchat_server_def.h:619
char * accid
邀请人 id
Definition: nim_qchat_server_def.h:617
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:613
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:615
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:621
Definition: nim_qchat_server_def.h:795
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:803
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:817
NIMQChatServerSearchSort sort
排序规则
Definition: nim_qchat_server_def.h:809
char * keyword
搜索内容
Definition: nim_qchat_server_def.h:801
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:799
NIMQChatServerSearchType search_type
搜索类型
Definition: nim_qchat_server_def.h:815
char * cursor
查询游标, 查询的起始位置
Definition: nim_qchat_server_def.h:819
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:805
size_t server_types_count
服务器类型长度
Definition: nim_qchat_server_def.h:813
uint32_t * server_types
搜索的服务器类型, 为空表示搜索所有类型
Definition: nim_qchat_server_def.h:811
NIMQChatSearchOrder order
排序顺序
Definition: nim_qchat_server_def.h:807
nim_qchat_server_search_page_cb_func cb
搜索异步回调
Definition: nim_qchat_server_def.h:797
Definition: nim_qchat_server_def.h:913
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_def.h:919
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:917
nim_qchat_server_subscribe_all_channel_cb_func cb
订阅所有频道异步回调
Definition: nim_qchat_server_def.h:915
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:921
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:923
Definition: nim_qchat_server_def.h:436
size_t unread_infos_count
频道未读信息数量
Definition: nim_qchat_server_def.h:448
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:438
size_t failed_servers_count
订阅失败列表数量
Definition: nim_qchat_server_def.h:444
NIMQChatUnreadInfo * unread_infos
频道未读信息, 内部使用,未读相关变更关注RegUnreadCb回调
Definition: nim_qchat_server_def.h:446
uint64_t * failed_servers
订阅失败列表
Definition: nim_qchat_server_def.h:442
Definition: nim_qchat_server_def.h:737
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:747
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_def.h:745
nim_qchat_server_subscribe_cb_func cb
订阅频道信息回调函数
Definition: nim_qchat_server_def.h:739
NIMQChatSubscribeOpeType ope_type
操作类型
Definition: nim_qchat_server_def.h:743
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:749
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:741
Definition: nim_qchat_server_def.h:336
uint64_t * failed_servers
订阅失败列表
Definition: nim_qchat_server_def.h:342
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:338
size_t failed_servers_count
订阅失败列表数量
Definition: nim_qchat_server_def.h:344
Definition: nim_qchat_server_def.h:767
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:773
char * custom
自定义字段
Definition: nim_qchat_server_def.h:777
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:771
char * accid
用户id
Definition: nim_qchat_server_def.h:775
nim_qchat_server_unban_member_cb_func cb
解封成员异步回调
Definition: nim_qchat_server_def.h:769
Definition: nim_qchat_server_def.h:374
size_t unread_infos_count
未读数信息列表长度
Definition: nim_qchat_server_def.h:378
NIMQChatServerUnreadInfo * unread_infos
未读数信息列表
Definition: nim_qchat_server_def.h:380
Definition: nim_qchat_server_def.h:693
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:701
NIMQChatMemberInfo member_info
成员信息
Definition: nim_qchat_server_def.h:699
nim_qchat_server_update_member_info_cb_func cb
更新成员信息异步回调
Definition: nim_qchat_server_def.h:695
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:697
Definition: nim_qchat_server_def.h:541
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:545
nim_qchat_server_update_cb_func cb
更新会话异步回调
Definition: nim_qchat_server_def.h:543
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:549
NIMQChatServerInfo server_info
服务器信息
Definition: nim_qchat_server_def.h:547
Definition: nim_qchat_public_def.h:330
Definition: nim_qchat_server_cpp_def.h:129
std::string update_accid
更新者 id
Definition: nim_qchat_server_cpp_def.h:133
std::string update_postscript
更新附言
Definition: nim_qchat_server_cpp_def.h:135
std::string apply_postscript
申请附言
Definition: nim_qchat_server_cpp_def.h:131
Definition: nim_qchat_public_cpp_def.h:40
Definition: nim_qchat_server_cpp_def.h:181
std::string update_postscript
更新附言
Definition: nim_qchat_server_cpp_def.h:185
std::string invite_postscript
邀请附言
Definition: nim_qchat_server_cpp_def.h:183
Definition: nim_qchat_public_cpp_def.h:53
Definition: nim_qchat_server_cpp_def.h:200
std::string invite_postscript
邀请附言
Definition: nim_qchat_server_cpp_def.h:202
std::string invite_code
邀请码
Definition: nim_qchat_server_cpp_def.h:204
Definition: nim_qchat_server_cpp_def.h:124
Definition: nim_qchat_server_cpp_def.h:246
std::string raw_data
邀请申请信息原始Json数据
Definition: nim_qchat_server_cpp_def.h:268
std::shared_ptr< QChatInviteApplyRecordData > data
邀请申请信息数据
Definition: nim_qchat_server_cpp_def.h:266
std::string accid
accid
Definition: nim_qchat_server_cpp_def.h:248
Definition: nim_qchat_server_cpp_def.h:152
std::string invite_postscript
邀请附言
Definition: nim_qchat_server_cpp_def.h:154
std::vector< QChatInviteUserInfo > invite_user_infos
邀请成员信息列表
Definition: nim_qchat_server_cpp_def.h:156
Definition: nim_qchat_server_cpp_def.h:97
std::string update_postscript
更新附言
Definition: nim_qchat_server_cpp_def.h:101
std::string accid
accid
Definition: nim_qchat_server_cpp_def.h:99
Definition: nim_qchat_server_cpp_def.h:223
std::string invite_code
邀请码
Definition: nim_qchat_server_cpp_def.h:229
std::string invite_postscript
邀请附言
Definition: nim_qchat_server_cpp_def.h:225
std::string update_postscript
更新附言
Definition: nim_qchat_server_cpp_def.h:227
Definition: nim_qchat_member_cpp_def.h:20
Definition: nim_qchat_public_cpp_def.h:72
Definition: nim_qchat_server_cpp_def.h:1155
uint64_t request_id
请求ID
Definition: nim_qchat_server_cpp_def.h:1163
Definition: nim_qchat_server_cpp_def.h:1046
uint64_t request_id
请求ID
Definition: nim_qchat_server_cpp_def.h:1054
Definition: nim_qchat_server_cpp_def.h:1120
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1128
Definition: nim_qchat_server_cpp_def.h:468
Definition: nim_qchat_server_cpp_def.h:1444
std::string accid
用户id
Definition: nim_qchat_server_cpp_def.h:1450
std::string custom
自定义字段
Definition: nim_qchat_server_cpp_def.h:1452
Definition: nim_qchat_server_cpp_def.h:847
Definition: nim_qchat_server_cpp_def.h:333
Definition: nim_qchat_server_cpp_def.h:878
Definition: nim_qchat_server_cpp_def.h:1646
QChatServerGenerateInviteCodeResp.
Definition: nim_qchat_server_cpp_def.h:645
std::string invite_code
邀请码
Definition: nim_qchat_server_cpp_def.h:653
Definition: nim_qchat_server_cpp_def.h:1514
Definition: nim_qchat_server_cpp_def.h:592
Definition: nim_qchat_server_cpp_def.h:1759
Definition: nim_qchat_server_cpp_def.h:1712
Definition: nim_qchat_server_cpp_def.h:679
Definition: nim_qchat_server_cpp_def.h:1371
Definition: nim_qchat_server_cpp_def.h:536
Definition: nim_qchat_server_cpp_def.h:1329
std::list< std::pair< uint64_t, std::string > > server_accid_list
服务器id和accid列表
Definition: nim_qchat_server_cpp_def.h:1333
Definition: nim_qchat_server_cpp_def.h:506
Definition: nim_qchat_server_cpp_def.h:966
GetServersPageCallback cb
回调函数
Definition: nim_qchat_server_cpp_def.h:968
Definition: nim_qchat_server_cpp_def.h:393
Definition: nim_qchat_server_cpp_def.h:936
Definition: nim_qchat_server_cpp_def.h:362
Definition: nim_qchat_server_cpp_def.h:22
Definition: nim_qchat_server_cpp_def.h:997
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1007
Definition: nim_qchat_server_cpp_def.h:421
std::map< std::string, NIMQChatServerInviteFailReason > fail_map
邀请失败的成员id和失败原因
Definition: nim_qchat_server_cpp_def.h:429
Definition: nim_qchat_server_cpp_def.h:1677
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1685
std::string invite_code
邀请码
Definition: nim_qchat_server_cpp_def.h:1683
Definition: nim_qchat_server_cpp_def.h:1229
Definition: nim_qchat_server_cpp_def.h:1271
Definition: nim_qchat_server_cpp_def.h:1802
std::vector< uint64_t > server_ids
服务器 id 列表
Definition: nim_qchat_server_cpp_def.h:1806
Definition: nim_qchat_server_cpp_def.h:711
Definition: nim_qchat_server_cpp_def.h:1611
Definition: nim_qchat_server_cpp_def.h:832
Definition: nim_qchat_server_cpp_def.h:1190
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1198
uint64_t request_id
请求ID
Definition: nim_qchat_server_cpp_def.h:1200
Definition: nim_qchat_server_cpp_def.h:1081
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1089
uint64_t request_id
请求ID
Definition: nim_qchat_server_cpp_def.h:1091
Definition: nim_qchat_server_cpp_def.h:1549
std::vector< uint32_t > server_types
搜索的服务器类型, 为空表示搜索所有类型
Definition: nim_qchat_server_cpp_def.h:1563
Definition: nim_qchat_server_cpp_def.h:1832
std::vector< uint64_t > server_ids
服务器 id 列表
Definition: nim_qchat_server_cpp_def.h:1838
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_cpp_def.h:1836
Definition: nim_qchat_server_cpp_def.h:744
Definition: nim_qchat_server_cpp_def.h:1406
Definition: nim_qchat_server_cpp_def.h:564
Definition: nim_qchat_server_cpp_def.h:1479
std::string accid
用户id
Definition: nim_qchat_server_cpp_def.h:1485
std::string custom
自定义字段
Definition: nim_qchat_server_cpp_def.h:1487
Definition: nim_qchat_server_cpp_def.h:633
Definition: nim_qchat_server_cpp_def.h:1298
Definition: nim_qchat_server_cpp_def.h:905