11#ifndef __NIM_QCHAT_SERVER_CPP_DEF_H__
12#define __NIM_QCHAT_SERVER_CPP_DEF_H__
23 uint64_t server_id{0};
25 uint32_t server_type{0};
27 bool searchable{
true};
33 std::string custom{
""};
35 std::string owner_id{
""};
37 uint64_t member_count{0};
43 bool valid_flag{
false};
45 uint32_t channel_count{0};
47 uint32_t channel_category_count{0};
49 uint64_t create_time{0};
51 uint64_t update_time{0};
53 uint64_t reorder_weight{0};
59 name = c_param.
name ? c_param.
name :
"";
60 icon = c_param.
icon ? c_param.
icon :
"";
78 c_param.
name =
const_cast<char*
>(name.c_str());
79 c_param.
icon =
const_cast<char*
>(icon.c_str());
80 c_param.
custom =
const_cast<char*
>(custom.c_str());
81 c_param.
owner_id =
const_cast<char*
>(owner_id.c_str());
104 uint64_t update_time{0};
114 c_param.
accid =
const_cast<char*
>(accid.c_str());
144 c_param.
update_accid =
const_cast<char*
>(update_accid.c_str());
166 c_invite_user_infos.clear();
167 for (
auto&& user_info : invite_user_infos) {
168 c_invite_user_infos.push_back(user_info.ToCParam());
205 uint32_t invite_count{0};
215 c_param.
invite_code =
const_cast<char*
>(invite_code.c_str());
239 c_param.
invite_code =
const_cast<char*
>(invite_code.c_str());
251 uint64_t server_id{0};
255 uint64_t request_id{0};
257 uint64_t record_id{0};
259 uint64_t create_time{0};
261 uint64_t update_time{0};
263 uint64_t expire_time{0};
265 std::shared_ptr<QChatInviteApplyRecordData>
data;
281 data = std::make_shared<QChatApplyInfoData>(c_param.
apply_data);
284 data = std::make_shared<QChatInviteInfoData>(c_param.
invite_data);
287 data = std::make_shared<QChatBeInvitedInfoData>(c_param.
be_invited_data);
300 c_param.
accid =
const_cast<char*
>(accid.c_str());
326 c_param.
raw_data =
const_cast<char*
>(raw_data.c_str());
334 uint32_t res_code{0};
363 uint32_t res_code{0};
365 std::vector<QChatServerInfo> server_list{};
379 for (
auto&& info : server_list) {
380 vec_servers.push_back(info.ToCParam());
382 c_response.server_list_count = vec_servers.size();
383 c_response.server_list = vec_servers.data();
408 c_response.page_info = page_info.ToCParam();
410 for (
auto&& info : server_list) {
411 vec_servers.push_back(info.ToCParam());
413 c_response.server_list_count = vec_servers.size();
414 c_response.server_list = vec_servers.data();
422 uint32_t res_code{0};
424 uint64_t request_id{0};
426 uint64_t expire_time{0};
428 std::map<std::string, NIMQChatServerInviteFailReason>
fail_map;
444 vec_fail_reason.clear();
445 for (
auto&& pair : fail_map) {
446 vec_accids.push_back(
const_cast<char*
>(pair.first.c_str()));
447 vec_fail_reason.push_back(pair.second);
450 c_resp.
accids = vec_accids.data();
469 uint32_t res_code{0};
471 uint64_t request_id{0};
473 uint64_t expire_time{0};
507 uint32_t res_code{0};
509 std::vector<QChatMemberInfo> member_list{};
523 for (
auto&& info : member_list) {
524 vec_members.push_back(info.ToCParam());
526 c_response.member_list_count = vec_members.size();
527 c_response.member_list = vec_members.data();
551 c_response.page_info = page_info.ToCParam();
553 for (
auto&& info : member_list) {
554 vec_members.push_back(info.ToCParam());
556 c_response.member_list_count = vec_members.size();
557 c_response.member_list = vec_members.data();
565 uint32_t res_code{0};
567 std::vector<uint64_t> failed_servers{};
578 c_resp.
failed_servers =
const_cast<uint64_t*
>(failed_servers.data());
593 uint32_t res_code{0};
597 std::vector<QChatMemberBanInfo> ban_list{};
605 ban_list.emplace_back(c_resp.
ban_list[i]);
611 c_response.page_info = page_info.ToCParam();
613 for (
auto&& info : ban_list) {
614 c_ban_list.push_back(info.ToCParam());
616 c_response.ban_list_count = c_ban_list.size();
617 c_response.ban_list = c_ban_list.data();
634 std::vector<NIMQChatServerUnreadInfo> unread_infos{};
646 uint32_t res_code{0};
648 uint64_t server_id{0};
650 uint64_t request_id{0};
654 uint64_t expire_time{0};
666 c_response.server_id = server_id;
667 c_response.request_id = request_id;
668 c_response.invite_code =
const_cast<char*
>(invite_code.c_str());
669 c_response.expire_time = expire_time;
680 uint32_t res_code{0};
682 std::vector<QChatInviteApplyRecord> invite_apply_records{};
693 c_invite_apply_records.clear();
694 for (
auto&& info : invite_apply_records) {
695 c_invite_apply_records.push_back(info.ToCParam());
697 c_response.invite_apply_records_count = c_invite_apply_records.size();
712 uint32_t res_code{0};
714 std::vector<uint64_t> succeeded_servers{};
716 std::vector<uint64_t> failed_servers{};
718 uint64_t timestamp{0};
733 c_response.succeeded_servers =
const_cast<uint64_t*
>(succeeded_servers.data());
734 c_response.succeeded_servers_count = succeeded_servers.size();
735 c_response.failed_servers =
const_cast<uint64_t*
>(failed_servers.data());
736 c_response.failed_servers_count = failed_servers.size();
737 c_response.timestamp = timestamp;
745 uint32_t res_code{0};
747 std::vector<uint64_t> failed_servers{};
749 std::vector<NIMQChatUnreadInfo> unread_infos{};
763 c_response.failed_servers =
const_cast<uint64_t*
>(failed_servers.data());
764 c_response.failed_servers_count = failed_servers.size();
766 c_response.unread_infos_count = unread_infos.size();
774 uint32_t res_code{0};
776 std::vector<uint64_t> failed_servers{};
779 res_code = c_resp.res_code;
780 for (
size_t i = 0; i < c_resp.failed_servers_count; i++) {
781 failed_servers.push_back(c_resp.failed_servers[i]);
786 c_resp.res_code = res_code;
787 c_resp.failed_servers =
const_cast<uint64_t*
>(failed_servers.data());
788 c_resp.failed_servers_count = failed_servers.size();
796 uint32_t res_code{0};
798 std::vector<uint64_t> failed_servers{};
801 res_code = c_resp.res_code;
802 for (
size_t i = 0; i < c_resp.failed_servers_count; i++) {
803 failed_servers.push_back(c_resp.failed_servers[i]);
808 c_resp.res_code = res_code;
809 c_resp.failed_servers =
const_cast<uint64_t*
>(failed_servers.data());
810 c_resp.failed_servers_count = failed_servers.size();
818 uint32_t res_code{0};
820 std::vector<uint64_t> failed_servers{};
823 res_code = c_resp.res_code;
824 for (
size_t i = 0; i < c_resp.failed_servers_count; i++) {
825 failed_servers.push_back(c_resp.failed_servers[i]);
830 c_resp.res_code = res_code;
831 c_resp.failed_servers =
const_cast<uint64_t*
>(failed_servers.data());
832 c_resp.failed_servers_count = failed_servers.size();
930 auto c_response = response.ToCParam();
931 c_response.user_data = user_data;
932 c_callback(&c_response);
940 InvokeCallback<ServerCreateCallback, NIMQChatServerCreateResp>(resp);
953 uint64_t server_id{0};
958 auto c_response = response.ToCParam();
959 c_response.user_data = user_data;
960 c_callback(&c_response);
968 InvokeCallback<ServerRemoveCallback, NIMQChatServerDeleteResp>(resp);
988 auto c_response = response.ToCParam();
989 c_response.user_data = user_data;
990 c_callback(&c_response);
998 InvokeCallback<ServerUpdateCallback, NIMQChatServerUpdateResp>(resp);
1011 std::vector<uint64_t> server_ids{};
1018 auto c_response = response.ToCParam();
1019 c_response.user_data = user_data;
1020 c_callback(&c_response);
1028 InvokeCallback<GetServersCallback, NIMQChatServerGetServersResp>(resp);
1031 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
1041 uint64_t timestamp{0};
1043 uint32_t limit{100};
1047 limit = c_param.
limit;
1049 auto c_response = response.ToCParam();
1050 c_response.user_data = user_data;
1051 c_callback(&c_response);
1059 InvokeCallback<GetServersPageCallback, NIMQChatServerGetServersPageResp>(resp);
1062 param.
limit = limit;
1072 uint64_t server_id{0};
1074 std::vector<std::string> invite_ids{};
1088 auto c_response = response.ToCParam();
1089 c_response.user_data = user_data;
1090 c_callback(&c_response);
1096 vec_invite_ids.clear();
1097 for (
auto&&
id : invite_ids) {
1098 vec_invite_ids.push_back(
const_cast<char*
>(
id.c_str()));
1104 InvokeCallback<ServerInviteCallback, NIMQChatServerInviteResp>(resp);
1108 param.
postscript =
const_cast<char*
>(postscript.c_str());
1113 mutable std::vector<char*> vec_invite_ids{};
1121 uint64_t server_id{0};
1123 std::string accid{
""};
1125 uint64_t request_id{0};
1129 accid = c_param.
accid;
1132 auto c_response = response.ToCParam();
1133 c_response.user_data = user_data;
1134 c_callback(&c_response);
1142 InvokeCallback<ServerAcceptInviteCallback, NIMQChatServerAcceptInviteResp>(resp);
1145 param.
accid =
const_cast<char*
>(accid.c_str());
1156 uint64_t server_id{0};
1158 std::string accid{
""};
1162 uint64_t request_id{0};
1166 accid = c_param.
accid;
1170 auto c_response = response.ToCParam();
1171 c_response.user_data = user_data;
1172 c_callback(&c_response);
1180 InvokeCallback<ServerRejectInviteCallback, NIMQChatServerRejectInviteResp>(resp);
1183 param.
accid =
const_cast<char*
>(accid.c_str());
1184 param.
postscript =
const_cast<char*
>(postscript.c_str());
1195 uint64_t server_id{0};
1206 auto c_response = response.ToCParam();
1207 c_response.user_data = user_data;
1208 c_callback(&c_response);
1216 InvokeCallback<ServerApplyCallback, NIMQChatServerApplyResp>(resp);
1220 param.
postscript =
const_cast<char*
>(postscript.c_str());
1230 uint64_t server_id{0};
1232 std::string accid{
""};
1234 uint64_t request_id{0};
1238 accid = c_param.
accid;
1241 auto c_response = response.ToCParam();
1242 c_response.user_data = user_data;
1243 c_callback(&c_response);
1251 InvokeCallback<ServerAcceptApplyCallback, NIMQChatServerAcceptApplyResp>(resp);
1254 param.
accid =
const_cast<char*
>(accid.c_str());
1265 uint64_t server_id{0};
1267 std::string accid{
""};
1271 uint64_t request_id{0};
1275 accid = c_param.
accid;
1279 auto c_response = response.ToCParam();
1280 c_response.user_data = user_data;
1281 c_callback(&c_response);
1289 InvokeCallback<ServerRejectApplyCallback, NIMQChatServerRejectApplyResp>(resp);
1292 param.
accid =
const_cast<char*
>(accid.c_str());
1293 param.
postscript =
const_cast<char*
>(postscript.c_str());
1304 uint64_t server_id{0};
1306 std::vector<std::string> accids{};
1311 accids.push_back(c_param.
accids[i]);
1314 auto c_response = response.ToCParam();
1315 c_response.user_data = user_data;
1316 c_callback(&c_response);
1323 for (
auto&&
id : accids) {
1324 vec_accids.push_back(
const_cast<char*
>(
id.c_str()));
1327 param.
accids = vec_accids.data();
1330 InvokeCallback<ServerKickCallback, NIMQChatServerKickResp>(resp);
1346 uint64_t server_id{0};
1351 auto c_response = response.ToCParam();
1352 c_response.user_data = user_data;
1353 c_callback(&c_response);
1361 InvokeCallback<ServerLeaveCallback, NIMQChatServerLeaveResp>(resp);
1381 auto c_response = response.ToCParam();
1382 c_response.user_data = user_data;
1383 c_callback(&c_response);
1391 InvokeCallback<ServerUpdateMemberInfoCallback, NIMQChatServerUpdateMemberInfoResp>(resp);
1407 server_accid_list.clear();
1409 server_accid_list.push_back(
1413 auto c_response = response.ToCParam();
1414 c_response.user_data = user_data;
1415 c_callback(&c_response);
1420 for (
auto&& item : server_accid_list) {
1423 pair.
accid =
const_cast<char*
>(item.second.c_str());
1424 vec_server_accid_list.push_back(pair);
1431 InvokeCallback<ServerGetMembersCallback, NIMQChatServerGetMembersResp>(resp);
1446 uint64_t server_id{0};
1448 uint64_t timestamp{0};
1450 uint32_t limit{100};
1455 limit = c_param.
limit;
1457 auto c_response = response.ToCParam();
1458 c_response.user_data = user_data;
1459 c_callback(&c_response);
1467 InvokeCallback<ServerGetMembersPageCallback, NIMQChatServerGetMembersPageResp>(resp);
1471 param.
limit = limit;
1485 std::vector<uint64_t> server_ids{};
1494 auto c_response = response.ToCParam();
1495 c_response.user_data = user_data;
1496 c_callback(&c_response);
1504 InvokeCallback<ServerSubscribeCallback, NIMQChatServerSubscribeResp>(resp);
1509 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
1519 uint64_t server_id{0};
1527 accid = c_param.
accid;
1530 auto c_response = response.ToCParam();
1531 c_response.user_data = user_data;
1532 c_callback(&c_response);
1540 InvokeCallback<ServerBanMemberCallback, NIMQChatServerBanMemberResp>(resp);
1543 param.
accid =
const_cast<char*
>(accid.c_str());
1544 param.
custom =
const_cast<char*
>(custom.c_str());
1554 uint64_t server_id{0};
1562 accid = c_param.
accid;
1565 auto c_response = response.ToCParam();
1566 c_response.user_data = user_data;
1567 c_callback(&c_response);
1575 InvokeCallback<ServerUnbanMemberCallback, NIMQChatServerUnbanMemberResp>(resp);
1578 param.
accid =
const_cast<char*
>(accid.c_str());
1579 param.
custom =
const_cast<char*
>(custom.c_str());
1589 uint64_t server_id{0};
1591 uint64_t timestamp{0};
1593 uint32_t limit{100};
1598 limit = c_param.
limit;
1600 auto c_response = response.ToCParam();
1601 c_response.user_data = user_data;
1602 c_callback(&c_response);
1610 InvokeCallback<ServerGetBannedMembersPageCallback, NIMQChatServerGetBannedMembersPageResp>(resp);
1614 param.
limit = limit;
1624 std::string keyword{
""};
1626 uint64_t start_time{0};
1628 uint64_t end_time{0};
1638 uint32_t limit{100};
1640 std::string cursor{
""};
1646 order = c_param.
order;
1647 sort = c_param.
sort;
1652 limit = c_param.
limit;
1655 auto c_response = response.ToCParam();
1656 c_response.user_data = user_data;
1657 c_callback(&c_response);
1665 InvokeCallback<ServerSearchPageCallback, NIMQChatServerSearchPageResp>(resp);
1667 param.
keyword =
const_cast<char*
>(keyword.c_str());
1670 param.
order = order;
1672 param.
server_types =
const_cast<uint32_t*
>(server_types.data());
1675 param.
limit = limit;
1676 param.
cursor =
const_cast<char*
>(cursor.c_str());
1686 uint64_t server_id{0};
1688 std::string keyword{
""};
1690 uint32_t limit{100};
1695 limit = c_param.
limit;
1697 auto c_response = response.ToCParam();
1698 c_response.user_data = user_data;
1699 c_callback(&c_response);
1707 InvokeCallback<ServerMemberSearchCallback, NIMQChatServerMemberSearchResp>(resp);
1710 param.
keyword =
const_cast<char*
>(keyword.c_str());
1711 param.
limit = limit;
1721 uint64_t server_id{0};
1729 auto c_response = response.ToCParam();
1730 c_response.user_data = user_data;
1731 c_callback(&c_response);
1739 InvokeCallback<ServerGenerateInviteCodeCallback, NIMQChatServerGenerateInviteCodeResp>(resp);
1752 uint64_t server_id{0};
1763 auto c_response = response.ToCParam();
1764 c_response.user_data = user_data;
1765 c_callback(&c_response);
1773 InvokeCallback<ServerJoinByInviteCodeCallback, NIMQChatServerJoinByInviteCodeResp>(resp);
1776 param.
invite_code =
const_cast<char*
>(invite_code.c_str());
1777 param.
postscript =
const_cast<char*
>(postscript.c_str());
1787 uint64_t server_id{0};
1789 uint64_t start_time{0};
1791 uint64_t end_time{0};
1793 bool reverse{
false};
1797 uint64_t exclude_record_id{0};
1804 limit = c_param.
limit;
1807 auto c_response = response.ToCParam();
1808 c_response.user_data = user_data;
1809 c_callback(&c_response);
1817 InvokeCallback<ServerGetInviteApplyRecordOfServerCallback, NIMQChatServerGetInviteApplyRecordOfServerResp>(resp);
1823 param.
limit = limit;
1834 uint64_t start_time{0};
1836 uint64_t end_time{0};
1838 bool reverse{
false};
1842 uint64_t exclude_record_id{0};
1848 limit = c_param.
limit;
1851 auto c_response = response.ToCParam();
1852 c_response.user_data = user_data;
1853 c_callback(&c_response);
1861 InvokeCallback<ServerGetInviteApplyRecordOfSelfCallback, NIMQChatServerGetInviteApplyRecordOfSelfResp>(resp);
1866 param.
limit = limit;
1884 auto c_response = response.ToCParam();
1885 c_response.user_data = user_data;
1886 c_callback(&c_response);
1894 InvokeCallback<ServerMarkReadCallback, NIMQChatServerMarkReadResp>(resp);
1897 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
1917 auto c_response = response.ToCParam();
1918 c_response.user_data = user_data;
1919 c_callback(&c_response);
1927 InvokeCallback<ServerSubscribeAllChannelCallback, NIMQChatServerSubscribeAllChannelResp>(resp);
1931 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
1941 std::vector<uint64_t> server_ids{};
1948 auto c_response = response.ToCParam();
1949 c_response.user_data = user_data;
1950 c_callback(&c_response);
1958 InvokeCallback<ServerEnterAsVisitorCallback, NIMQChatServerEnterAsVisitorResp>(resp);
1961 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
1971 std::vector<uint64_t> server_ids{};
1978 auto c_response = response.ToCParam();
1979 c_response.user_data = user_data;
1980 c_callback(&c_response);
1988 InvokeCallback<ServerLeaveAsVisitorCallback, NIMQChatServerLeaveAsVisitorResp>(resp);
1991 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
2003 std::vector<uint64_t> server_ids{};
2012 auto c_response = response.ToCParam();
2013 c_response.user_data = user_data;
2014 c_callback(&c_response);
2022 InvokeCallback<ServerSubscribeAsVisitorCallback, NIMQChatServerSubscribeAsVisitorResp>(resp);
2027 param.
server_ids =
const_cast<uint64_t*
>(server_ids.data());
std::function< void(const QChatServerUpdateResp &)> ServerUpdateCallback
更新服务器回调
Definition: nim_qchat_server_cpp_def.h:844
std::function< void(const QChatServerGetServersResp &)> GetServersCallback
查询服务器列表回调
Definition: nim_qchat_server_cpp_def.h:846
std::function< void(const QChatServerUnreadResp &)> ServerUnreadCallback
未读数回调
Definition: nim_qchat_server_cpp_def.h:838
std::function< void(const QChatServerGetBannedMembersPageResp &)> ServerGetBannedMembersPageCallback
查询服务器成员封禁列表分页回调
Definition: nim_qchat_server_cpp_def.h:878
std::function< void(const QChatServerJoinByInviteCodeResp &)> ServerJoinByInviteCodeCallback
通过邀请码加入回调
Definition: nim_qchat_server_cpp_def.h:886
std::function< void(const QChatServerGetMembersResp &)> ServerGetMembersCallback
查询服务器成员列表回调
Definition: nim_qchat_server_cpp_def.h:868
std::function< void(const QChatServerApplyResp &)> ServerApplyCallback
申请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:856
ServerGetMembersCallback ServerMemberSearchCallback
搜索服务器成员分页回调
Definition: nim_qchat_server_cpp_def.h:882
std::function< void(const QChatServerGetMembersPageResp &)> ServerGetMembersPageCallback
查询服务器成员列表分页回调
Definition: nim_qchat_server_cpp_def.h:870
std::function< void(const QChatServerSubscribeAllChannelResp &)> ServerSubscribeAllChannelCallback
订阅所有频道
Definition: nim_qchat_server_cpp_def.h:894
std::function< void(const QChatServerUnbanMemberResp &)> ServerUnbanMemberCallback
解封成员回调
Definition: nim_qchat_server_cpp_def.h:876
std::function< void(const QChatServerSubscribeAsVisitorResp &)> ServerSubscribeAsVisitorCallback
以游客身份订阅服务器回调
Definition: nim_qchat_server_cpp_def.h:900
std::function< void(const QChatServerAcceptApplyResp &)> ServerAcceptApplyCallback
接受申请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:858
std::function< void(const QChatServerEnterAsVisitorResp &)> ServerEnterAsVisitorCallback
以游客身份进入服务器回调
Definition: nim_qchat_server_cpp_def.h:896
std::function< void(const QChatServerBanMemberResp &)> ServerBanMemberCallback
封禁成员回调
Definition: nim_qchat_server_cpp_def.h:874
GetServersPageCallback ServerSearchPageCallback
搜索服务器分页回调
Definition: nim_qchat_server_cpp_def.h:880
std::function< void(const QChatServerAcceptInviteResp &)> ServerAcceptInviteCallback
接受邀请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:852
std::function< void(const QChatServerGetServersPageResp &)> GetServersPageCallback
查询服务器列表分页回调
Definition: nim_qchat_server_cpp_def.h:848
std::function< void(const QChatServerMarkReadResp &)> ServerMarkReadCallback
服务器标记已读
Definition: nim_qchat_server_cpp_def.h:892
std::function< void(const QChatServerUpdateMemberInfoResp &)> ServerUpdateMemberInfoCallback
更新服务器成员信息回调
Definition: nim_qchat_server_cpp_def.h:866
std::function< void(const QChatServerInviteResp &)> ServerInviteCallback
邀请用户加入服务器回调
Definition: nim_qchat_server_cpp_def.h:850
std::function< void(const QChatServerSubscribeResp &)> ServerSubscribeCallback
订阅回调
Definition: nim_qchat_server_cpp_def.h:872
std::function< void(const QChatServerDeleteResp &)> ServerRemoveCallback
删除服务器回调
Definition: nim_qchat_server_cpp_def.h:842
std::function< void(const QChatServerRejectApplyResp &)> ServerRejectApplyCallback
拒绝申请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:860
std::function< void(const QChatServerGetInviteApplyRecordOfServerResp &)> ServerGetInviteApplyRecordOfServerCallback
查询服务器下的申请邀请记录回调
Definition: nim_qchat_server_cpp_def.h:888
std::function< void(const QChatServerGenerateInviteCodeResp &)> ServerGenerateInviteCodeCallback
生成邀请码回调
Definition: nim_qchat_server_cpp_def.h:884
std::function< void(const QChatServerGetInviteApplyRecordOfSelfResp &)> ServerGetInviteApplyRecordOfSelfCallback
查询自己的申请邀请记录回调
Definition: nim_qchat_server_cpp_def.h:890
std::function< void(const QChatServerKickResp &)> ServerKickCallback
踢出服务器回调
Definition: nim_qchat_server_cpp_def.h:862
std::function< void(const QChatServerRejectInviteResp &)> ServerRejectInviteCallback
拒绝邀请加入服务器回调
Definition: nim_qchat_server_cpp_def.h:854
std::function< void(const QChatServerCreateResp &)> ServerCreateCallback
创建服务器回调
Definition: nim_qchat_server_cpp_def.h:840
std::function< void(const QChatServerLeaveResp &)> ServerLeaveCallback
离开服务器回调
Definition: nim_qchat_server_cpp_def.h:864
std::function< void(const QChatServerLeaveAsVisitorResp &)> ServerLeaveAsVisitorCallback
以游客身份离开服务器回调
Definition: nim_qchat_server_cpp_def.h:898
NIMQChatSubscribeType
Definition: nim_qchat_public_def.h:56
@ kNIMQChatSubscribeTypeVisitorServerNotification
以游客身份订阅某个server的【消息】/【通知】
Definition: nim_qchat_public_def.h:72
@ kNIMQChatSubscribeTypeServerNotification
订阅某个server的【消息】/【通知】
Definition: nim_qchat_public_def.h:66
NIMQChatServerSearchSort
服务器搜索排序规则
Definition: nim_qchat_public_def.h:117
@ kNIMQChatServerSearchSortCreateTime
创建时间排序
Definition: nim_qchat_public_def.h:121
NIMQChatSearchOrder
搜索排序顺序
Definition: nim_qchat_public_def.h:109
@ kNIMQChatSearchOrderAsc
按时间正序
Definition: nim_qchat_public_def.h:111
NIMQChatSubscribeOpeType
Definition: nim_qchat_public_def.h:48
@ kNIMQChatSubscribeOpeTypeSubscribe
订阅
Definition: nim_qchat_public_def.h:50
#define NIM_QCHAT_SDK_CPPWRAPPER_DLL_API
Definition: nim_qchat_sdk_cpp_wrapper.h:38
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
@ kNIMResSuccess
没有错误,一切正常
Definition: public_defines.h:26
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:654
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:664
char * accid
申请人 id
Definition: nim_qchat_server_def.h:662
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:660
nim_qchat_server_accept_apply_cb_func cb
接受申请异步回调
Definition: nim_qchat_server_def.h:656
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:658
Definition: nim_qchat_server_def.h:610
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:620
nim_qchat_server_accept_invite_cb_func cb
接受邀请异步回调
Definition: nim_qchat_server_def.h:612
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:614
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:616
char * accid
邀请人 id
Definition: nim_qchat_server_def.h:618
Definition: nim_qchat_server_def.h:640
nim_qchat_server_apply_cb_func cb
申请加入异步回调
Definition: nim_qchat_server_def.h:642
char * postscript
附言
Definition: nim_qchat_server_def.h:650
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:644
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:646
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:648
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:768
char * accid
用户id
Definition: nim_qchat_server_def.h:776
char * custom
自定义字段
Definition: nim_qchat_server_def.h:778
nim_qchat_server_ban_member_cb_func cb
封禁成员异步回调
Definition: nim_qchat_server_def.h:770
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:774
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:772
Definition: nim_qchat_server_def.h:534
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:542
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:538
nim_qchat_server_create_cb_func cb
创建会话异步回调
Definition: nim_qchat_server_def.h:536
NIMQChatServerInfo server_info
服务器信息
Definition: nim_qchat_server_def.h:540
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:546
nim_qchat_server_remove_cb_func cb
删除会话异步回调
Definition: nim_qchat_server_def.h:548
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:552
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:550
Definition: nim_qchat_server_def.h:942
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:950
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:946
nim_qchat_server_enter_as_visitor_cb_func cb
以游客身份进入服务器异步回调
Definition: nim_qchat_server_def.h:944
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:948
Definition: nim_qchat_server_def.h:852
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:860
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:856
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:858
nim_qchat_server_generate_invite_code_cb_func cb
生成邀请码异步回调
Definition: nim_qchat_server_def.h:854
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:796
nim_qchat_server_get_banned_members_page_cb_func cb
查询封禁成员列表异步回调
Definition: nim_qchat_server_def.h:798
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:806
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:802
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:804
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:800
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:898
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:906
nim_qchat_server_get_invite_apply_record_by_self_cb_func cb
查询自己邀请申请历史异步回调
Definition: nim_qchat_server_def.h:900
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:910
bool reverse
是否倒序, false: 否, true: 是
Definition: nim_qchat_server_def.h:908
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:902
uint64_t exclude_record_id
要排除的记录id
Definition: nim_qchat_server_def.h:912
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:904
Definition: nim_qchat_server_def.h:878
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:884
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:892
bool reverse
是否倒序, false: 否, true: 是
Definition: nim_qchat_server_def.h:890
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:886
uint64_t exclude_record_id
要排除的记录id
Definition: nim_qchat_server_def.h:894
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:888
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:882
nim_qchat_server_get_invite_apply_record_of_server_cb_func cb
查询服务器下邀请申请历史异步回调
Definition: nim_qchat_server_def.h:880
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:738
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:746
nim_qchat_server_get_members_page_cb_func cb
查询成员列表异步回调
Definition: nim_qchat_server_def.h:740
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:744
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:742
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:748
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:726
nim_qchat_server_get_members_cb_func cb
查询成员列表异步回调
Definition: nim_qchat_server_def.h:728
NIMQChatServerMemberPair * server_accid_list
服务器id和accid列表
Definition: nim_qchat_server_def.h:732
size_t server_accid_list_count
服务器id和accid列表长度
Definition: nim_qchat_server_def.h:734
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:730
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:580
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:586
nim_qchat_server_get_servers_page_cb_func cb
查询会话列表分页异步回调
Definition: nim_qchat_server_def.h:582
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:584
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:588
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:568
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:576
nim_qchat_server_get_servers_cb_func cb
查询会话列表异步回调
Definition: nim_qchat_server_def.h:570
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:574
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:572
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:592
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:598
size_t invite_ids_count
受邀人 id 列表长度
Definition: nim_qchat_server_def.h:602
char * postscript
附言
Definition: nim_qchat_server_def.h:606
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:604
char ** invite_ids
受邀人 id 列表
Definition: nim_qchat_server_def.h:600
nim_qchat_server_invite_cb_func cb
邀请异步回调
Definition: nim_qchat_server_def.h:594
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:596
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:864
nim_qchat_server_join_by_invite_code_cb_func cb
通过邀请码加入异步回调
Definition: nim_qchat_server_def.h:866
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:872
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:868
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:870
char * postscript
附言
Definition: nim_qchat_server_def.h:874
Definition: nim_qchat_server_def.h:684
char ** accids
被踢人 id 列表
Definition: nim_qchat_server_def.h:692
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:690
size_t accids_count
被踢人 id 列表长度
Definition: nim_qchat_server_def.h:694
nim_qchat_server_kick_cb_func cb
踢人异步回调
Definition: nim_qchat_server_def.h:686
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:688
Definition: nim_qchat_server_def.h:954
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:958
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:962
nim_qchat_server_leave_as_visitor_cb_func cb
以游客身份离开服务器异步回调
Definition: nim_qchat_server_def.h:956
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:960
Definition: nim_qchat_server_def.h:698
nim_qchat_server_leave_cb_func cb
离开异步回调
Definition: nim_qchat_server_def.h:700
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:702
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:704
Definition: nim_qchat_server_def.h:916
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:920
nim_qchat_server_mark_read_cb_func cb
标记服务器下消息已读异步回调
Definition: nim_qchat_server_def.h:918
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:924
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:922
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:720
char * accid
Definition: nim_qchat_server_def.h:722
uint64_t server_id
Definition: nim_qchat_server_def.h:721
Definition: nim_qchat_server_def.h:838
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:844
nim_qchat_server_member_search_cb_func cb
搜索异步回调
Definition: nim_qchat_server_def.h:840
char * keyword
搜索内容
Definition: nim_qchat_server_def.h:846
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:842
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:848
Definition: nim_qchat_server_def.h:528
nim_qchat_server_unread_cb_func cb
Definition: nim_qchat_server_def.h:529
Definition: nim_qchat_server_def.h:668
char * postscript
附言
Definition: nim_qchat_server_def.h:678
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:674
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:672
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:680
char * accid
申请人 id
Definition: nim_qchat_server_def.h:676
nim_qchat_server_reject_apply_cb_func cb
拒绝申请异步回调
Definition: nim_qchat_server_def.h:670
Definition: nim_qchat_server_def.h:624
nim_qchat_server_reject_invite_cb_func cb
拒绝邀请异步回调
Definition: nim_qchat_server_def.h:626
char * postscript
附言
Definition: nim_qchat_server_def.h:634
char * accid
邀请人 id
Definition: nim_qchat_server_def.h:632
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:628
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:630
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:636
Definition: nim_qchat_server_def.h:810
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:818
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:832
NIMQChatServerSearchSort sort
排序规则
Definition: nim_qchat_server_def.h:824
char * keyword
搜索内容
Definition: nim_qchat_server_def.h:816
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:814
NIMQChatServerSearchType search_type
搜索类型
Definition: nim_qchat_server_def.h:830
char * cursor
查询游标, 查询的起始位置
Definition: nim_qchat_server_def.h:834
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:820
size_t server_types_count
服务器类型长度
Definition: nim_qchat_server_def.h:828
uint32_t * server_types
搜索的服务器类型, 为空表示搜索所有类型
Definition: nim_qchat_server_def.h:826
NIMQChatSearchOrder order
排序顺序
Definition: nim_qchat_server_def.h:822
nim_qchat_server_search_page_cb_func cb
搜索异步回调
Definition: nim_qchat_server_def.h:812
Definition: nim_qchat_server_def.h:928
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_def.h:934
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:932
nim_qchat_server_subscribe_all_channel_cb_func cb
订阅所有频道异步回调
Definition: nim_qchat_server_def.h:930
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:936
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:938
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:966
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:976
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:970
NIMQChatSubscribeOpeType ope_type
操作类型
Definition: nim_qchat_server_def.h:972
NIMQChatSubscribeType sub_type
Definition: nim_qchat_server_def.h:979
nim_qchat_server_subscribe_as_visitor_cb_func cb
以游客身份订阅服务器异步回调
Definition: nim_qchat_server_def.h:968
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:974
Definition: nim_qchat_server_def.h:752
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:762
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_def.h:760
nim_qchat_server_subscribe_cb_func cb
订阅频道信息回调函数
Definition: nim_qchat_server_def.h:754
NIMQChatSubscribeOpeType ope_type
操作类型
Definition: nim_qchat_server_def.h:758
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:764
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:756
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:782
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:788
char * custom
自定义字段
Definition: nim_qchat_server_def.h:792
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:786
char * accid
用户id
Definition: nim_qchat_server_def.h:790
nim_qchat_server_unban_member_cb_func cb
解封成员异步回调
Definition: nim_qchat_server_def.h:784
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:708
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:716
NIMQChatMemberInfo member_info
成员信息
Definition: nim_qchat_server_def.h:714
nim_qchat_server_update_member_info_cb_func cb
更新成员信息异步回调
Definition: nim_qchat_server_def.h:710
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:712
Definition: nim_qchat_server_def.h:556
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:560
nim_qchat_server_update_cb_func cb
更新会话异步回调
Definition: nim_qchat_server_def.h:558
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:564
NIMQChatServerInfo server_info
服务器信息
Definition: nim_qchat_server_def.h:562
Definition: nim_qchat_public_def.h:214
Definition: nim_qchat_server_cpp_def.h:128
std::string update_postscript
更新附言
Definition: nim_qchat_server_cpp_def.h:134
QChatApplyInfoData()=default
std::string update_accid
更新者 id
Definition: nim_qchat_server_cpp_def.h:132
QChatApplyInfoData(const NIMQChatApplyInfoData &c_param)
Definition: nim_qchat_server_cpp_def.h:136
NIMQChatApplyInfoData ToCParam() const
Definition: nim_qchat_server_cpp_def.h:141
std::string apply_postscript
申请附言
Definition: nim_qchat_server_cpp_def.h:130
Definition: nim_qchat_public_cpp_def.h:49
Definition: nim_qchat_server_cpp_def.h:180
QChatBeInvitedInfoData(const NIMQChatBeInvitedInfoData &c_param)
Definition: nim_qchat_server_cpp_def.h:186
std::string invite_postscript
邀请附言
Definition: nim_qchat_server_cpp_def.h:182
std::string update_postscript
更新附言
Definition: nim_qchat_server_cpp_def.h:184
QChatBeInvitedInfoData()=default
NIMQChatBeInvitedInfoData ToCParam() const
Definition: nim_qchat_server_cpp_def.h:190
Definition: nim_qchat_public_cpp_def.h:62
Definition: nim_qchat_server_cpp_def.h:199
std::string invite_postscript
邀请附言
Definition: nim_qchat_server_cpp_def.h:201
QChatGenerateInviteCodeInfoData()=default
NIMQChatGenerateInviteCodeInfoData ToCParam() const
Definition: nim_qchat_server_cpp_def.h:212
std::string invite_code
邀请码
Definition: nim_qchat_server_cpp_def.h:203
QChatGenerateInviteCodeInfoData(const NIMQChatGenerateInviteCodeInfoData &c_param)
Definition: nim_qchat_server_cpp_def.h:207
Definition: nim_qchat_server_cpp_def.h:123
virtual ~QChatInviteApplyRecordData()
Definition: nim_qchat_server_cpp_def.h:124
Definition: nim_qchat_server_cpp_def.h:245
std::string accid
accid
Definition: nim_qchat_server_cpp_def.h:247
std::string raw_data
邀请申请信息原始Json数据
Definition: nim_qchat_server_cpp_def.h:267
QChatInviteApplyRecord()=default
QChatInviteApplyRecord(const NIMQChatInviteApplyRecord &c_param)
Definition: nim_qchat_server_cpp_def.h:269
std::shared_ptr< QChatInviteApplyRecordData > data
邀请申请信息数据
Definition: nim_qchat_server_cpp_def.h:265
NIMQChatInviteApplyRecord ToCParam() const
Definition: nim_qchat_server_cpp_def.h:298
Definition: nim_qchat_server_cpp_def.h:151
std::string invite_postscript
邀请附言
Definition: nim_qchat_server_cpp_def.h:153
QChatInviteInfoData()=default
std::vector< NIMQChatInviteUserInfo > c_invite_user_infos
Definition: nim_qchat_server_cpp_def.h:176
NIMQChatInviteInfoData ToCParam() const
Definition: nim_qchat_server_cpp_def.h:163
std::vector< QChatInviteUserInfo > invite_user_infos
邀请成员信息列表
Definition: nim_qchat_server_cpp_def.h:155
QChatInviteInfoData(const NIMQChatInviteInfoData &c_param)
Definition: nim_qchat_server_cpp_def.h:157
Definition: nim_qchat_server_cpp_def.h:96
std::string accid
accid
Definition: nim_qchat_server_cpp_def.h:98
QChatInviteUserInfo(const NIMQChatInviteUserInfo &c_param)
Definition: nim_qchat_server_cpp_def.h:106
QChatInviteUserInfo()=default
std::string update_postscript
更新附言
Definition: nim_qchat_server_cpp_def.h:100
NIMQChatInviteUserInfo ToCParam() const
Definition: nim_qchat_server_cpp_def.h:112
Definition: nim_qchat_server_cpp_def.h:222
QChatJoinByInviteCodeInfoData(const NIMQChatJoinByInviteCodeInfoData &c_param)
Definition: nim_qchat_server_cpp_def.h:230
QChatJoinByInviteCodeInfoData()=default
NIMQChatJoinByInviteCodeInfoData ToCParam() const
Definition: nim_qchat_server_cpp_def.h:235
std::string invite_postscript
邀请附言
Definition: nim_qchat_server_cpp_def.h:224
std::string invite_code
邀请码
Definition: nim_qchat_server_cpp_def.h:228
std::string update_postscript
更新附言
Definition: nim_qchat_server_cpp_def.h:226
Definition: nim_qchat_member_cpp_def.h:19
Definition: nim_qchat_public_cpp_def.h:81
Definition: nim_qchat_server_cpp_def.h:1226
NIMQChatServerAcceptApplyParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1246
QChatServerAcceptApplyParam()=default
QChatServerAcceptApplyParam(const NIMQChatServerAcceptApplyParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1236
Definition: nim_qchat_server_cpp_def.h:1117
QChatServerAcceptInviteParam()=default
NIMQChatServerAcceptInviteParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1137
QChatServerAcceptInviteParam(const NIMQChatServerAcceptInviteParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1127
Definition: nim_qchat_server_cpp_def.h:1191
QChatServerApplyParam(const NIMQChatServerApplyParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1201
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1199
NIMQChatServerApplyParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1211
QChatServerApplyParam()=default
Definition: nim_qchat_server_cpp_def.h:467
QChatServerApplyResp()=default
NIMQChatServerApplyResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:480
QChatServerApplyResp(const NIMQChatServerApplyResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:475
Definition: nim_qchat_server_cpp_def.h:1515
NIMQChatServerBanMemberParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1535
std::string custom
自定义字段
Definition: nim_qchat_server_cpp_def.h:1523
std::string accid
用户id
Definition: nim_qchat_server_cpp_def.h:1521
QChatServerBanMemberParam(const NIMQChatServerBanMemberParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1525
QChatServerBanMemberParam()=default
Definition: nim_qchat_server_cpp_def.h:918
QChatServerCreateParam()=default
NIMQChatServerCreateParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:935
QChatServerCreateParam(const NIMQChatServerCreateParam &c_param)
Definition: nim_qchat_server_cpp_def.h:926
Definition: nim_qchat_server_cpp_def.h:332
NIMQChatServerCreateResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:344
QChatServerCreateResp(const NIMQChatServerCreateResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:338
QChatServerCreateResp()=default
Definition: nim_qchat_server_cpp_def.h:949
NIMQChatServerDeleteParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:963
QChatServerDeleteParam(const NIMQChatServerDeleteParam &c_param)
Definition: nim_qchat_server_cpp_def.h:955
QChatServerDeleteParam()=default
Definition: nim_qchat_server_cpp_def.h:1937
QChatServerEnterAsVisitorParam()=default
QChatServerEnterAsVisitorParam(const NIMQChatServerEnterAsVisitorParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1943
NIMQChatServerEnterAsVisitorParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1953
Definition: nim_qchat_server_cpp_def.h:772
NIMQChatServerEnterAsVisitorResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:784
QChatServerEnterAsVisitorResp(const NIMQChatServerEnterAsVisitorResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:778
QChatServerEnterAsVisitorResp()=default
Definition: nim_qchat_server_cpp_def.h:1717
QChatServerGenerateInviteCodeParam(const NIMQChatServerGenerateInviteCodeParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1725
QChatServerGenerateInviteCodeParam()=default
NIMQChatServerGenerateInviteCodeParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1734
QChatServerGenerateInviteCodeResp
Definition: nim_qchat_server_cpp_def.h:644
NIMQChatServerGenerateInviteCodeResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:663
std::string invite_code
邀请码
Definition: nim_qchat_server_cpp_def.h:652
QChatServerGenerateInviteCodeResp()=default
QChatServerGenerateInviteCodeResp(const NIMQChatServerGenerateInviteCodeResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:656
Definition: nim_qchat_server_cpp_def.h:1585
NIMQChatServerGetBannedMembersPageParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1605
QChatServerGetBannedMembersPageParam()=default
QChatServerGetBannedMembersPageParam(const NIMQChatServerGetBannedMembersPageParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1595
Definition: nim_qchat_server_cpp_def.h:591
NIMQChatServerGetBannedMembersPageResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:608
QChatServerGetBannedMembersPageResp()=default
std::vector< NIMQChatMemberBanInfo > c_ban_list
Definition: nim_qchat_server_cpp_def.h:622
QChatServerGetBannedMembersPageResp(const NIMQChatServerGetBannedMembersPageResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:599
Definition: nim_qchat_server_cpp_def.h:1830
NIMQChatServerGetInviteApplyRecordOfSelfParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1856
QChatServerGetInviteApplyRecordOfSelfParam(const NIMQChatServerGetInviteApplyRecordOfSelfParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1844
QChatServerGetInviteApplyRecordOfSelfParam()=default
Definition: nim_qchat_server_cpp_def.h:1783
NIMQChatServerGetInviteApplyRecordOfServerParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1812
QChatServerGetInviteApplyRecordOfServerParam(const NIMQChatServerGetInviteApplyRecordOfServerParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1799
QChatServerGetInviteApplyRecordOfServerParam()=default
Definition: nim_qchat_server_cpp_def.h:678
std::vector< NIMQChatInviteApplyRecord > c_invite_apply_records
Definition: nim_qchat_server_cpp_def.h:703
QChatServerGetInviteApplyRecordOfServerResp()=default
NIMQChatServerGetInviteApplyRecordOfServerResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:690
QChatServerGetInviteApplyRecordOfServerResp(const NIMQChatServerGetInviteApplyRecordOfServerResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:684
Definition: nim_qchat_server_cpp_def.h:1442
QChatServerGetMembersPageParam(const NIMQChatServerGetMembersPageParam c_param)
Definition: nim_qchat_server_cpp_def.h:1452
NIMQChatServerGetMembersPageParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1462
QChatServerGetMembersPageParam()=default
Definition: nim_qchat_server_cpp_def.h:535
QChatServerGetMembersPageResp()=default
NIMQChatServerGetMembersPageResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:548
QChatServerGetMembersPageResp(const NIMQChatServerGetMembersPageResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:539
Definition: nim_qchat_server_cpp_def.h:1400
QChatServerGetMembersParam()=default
NIMQChatServerGetMembersParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1418
QChatServerGetMembersParam(const NIMQChatServerGetMembersParam c_param)
Definition: nim_qchat_server_cpp_def.h:1406
std::vector< std::pair< uint64_t, std::string > > server_accid_list
服务器id和accid列表
Definition: nim_qchat_server_cpp_def.h:1404
std::vector< NIMQChatServerMemberPair > vec_server_accid_list
Definition: nim_qchat_server_cpp_def.h:1438
Definition: nim_qchat_server_cpp_def.h:505
QChatServerGetMembersResp(const NIMQChatServerGetMembersResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:511
QChatServerGetMembersResp()=default
std::vector< NIMQChatMemberInfo > vec_members
Definition: nim_qchat_server_cpp_def.h:532
NIMQChatServerGetMembersResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:519
Definition: nim_qchat_server_cpp_def.h:1037
QChatServerGetServersPageParam(const NIMQChatServerGetServersPageParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1045
QChatServerGetServersPageParam()=default
NIMQChatServerGetServersPageParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1054
GetServersPageCallback cb
回调函数
Definition: nim_qchat_server_cpp_def.h:1039
Definition: nim_qchat_server_cpp_def.h:392
QChatServerGetServersPageResp(const NIMQChatServerGetServersPageResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:396
NIMQChatServerGetServersPageResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:405
QChatServerGetServersPageResp()=default
Definition: nim_qchat_server_cpp_def.h:1007
QChatServerGetServersParam(const NIMQChatServerGetServersParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1013
NIMQChatServerGetServersParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1023
QChatServerGetServersParam()=default
Definition: nim_qchat_server_cpp_def.h:361
NIMQChatServerGetServersResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:375
QChatServerGetServersResp()=default
QChatServerGetServersResp(const NIMQChatServerGetServersResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:367
std::vector< NIMQChatServerInfo > vec_servers
Definition: nim_qchat_server_cpp_def.h:388
Definition: nim_qchat_server_cpp_def.h:21
QChatServerInfo()=default
NIMQChatServerInfo ToCParam() const
Definition: nim_qchat_server_cpp_def.h:73
QChatServerInfo(const NIMQChatServerInfo &c_param)
Definition: nim_qchat_server_cpp_def.h:55
Definition: nim_qchat_server_cpp_def.h:1068
NIMQChatServerInviteParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1093
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1078
QChatServerInviteParam()=default
QChatServerInviteParam(const NIMQChatServerInviteParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1080
Definition: nim_qchat_server_cpp_def.h:420
std::map< std::string, NIMQChatServerInviteFailReason > fail_map
邀请失败的成员id和失败原因
Definition: nim_qchat_server_cpp_def.h:428
QChatServerInviteResp(const NIMQChatServerInviteResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:430
std::vector< NIMQChatServerInviteFailReason > vec_fail_reason
Definition: nim_qchat_server_cpp_def.h:457
std::vector< char * > vec_accids
Definition: nim_qchat_server_cpp_def.h:456
NIMQChatServerInviteResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:438
QChatServerInviteResp()=default
Definition: nim_qchat_server_cpp_def.h:1748
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1756
QChatServerJoinByInviteCodeParam(const NIMQChatServerJoinByInviteCodeParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1758
NIMQChatServerJoinByInviteCodeParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1768
std::string invite_code
邀请码
Definition: nim_qchat_server_cpp_def.h:1754
QChatServerJoinByInviteCodeParam()=default
Definition: nim_qchat_server_cpp_def.h:1300
std::vector< char * > vec_accids
Definition: nim_qchat_server_cpp_def.h:1338
NIMQChatServerKickParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1319
QChatServerKickParam(const NIMQChatServerKickParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1308
QChatServerKickParam()=default
Definition: nim_qchat_server_cpp_def.h:1967
NIMQChatServerLeaveAsVisitorParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1983
QChatServerLeaveAsVisitorParam()=default
QChatServerLeaveAsVisitorParam(const NIMQChatServerLeaveAsVisitorParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1973
Definition: nim_qchat_server_cpp_def.h:794
QChatServerLeaveAsVisitorResp()=default
QChatServerLeaveAsVisitorResp(const NIMQChatServerLeaveAsVisitorResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:800
NIMQChatServerLeaveAsVisitorResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:806
Definition: nim_qchat_server_cpp_def.h:1342
NIMQChatServerLeaveParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1356
QChatServerLeaveParam(const NIMQChatServerLeaveParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1348
QChatServerLeaveParam()=default
Definition: nim_qchat_server_cpp_def.h:1873
NIMQChatServerMarkReadParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1889
QChatServerMarkReadParam()=default
QChatServerMarkReadParam(const NIMQChatServerMarkReadParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1879
std::vector< uint64_t > server_ids
服务器 id 列表
Definition: nim_qchat_server_cpp_def.h:1877
Definition: nim_qchat_server_cpp_def.h:710
QChatServerMarkReadResp(const NIMQChatServerMarkReadResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:720
QChatServerMarkReadResp()=default
NIMQChatServerMarkReadResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:730
Definition: nim_qchat_server_cpp_def.h:1682
NIMQChatServerMemberSearchParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1702
QChatServerMemberSearchParam()=default
QChatServerMemberSearchParam(const NIMQChatServerMemberSearchParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1692
Definition: nim_qchat_server_cpp_def.h:903
NIMQChatServerRegUnreadCbParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:905
Definition: nim_qchat_server_cpp_def.h:1261
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1269
QChatServerRejectApplyParam(const NIMQChatServerRejectApplyParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1273
NIMQChatServerRejectApplyParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1284
QChatServerRejectApplyParam()=default
Definition: nim_qchat_server_cpp_def.h:1152
QChatServerRejectInviteParam(const NIMQChatServerRejectInviteParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1164
std::string postscript
附言
Definition: nim_qchat_server_cpp_def.h:1160
QChatServerRejectInviteParam()=default
NIMQChatServerRejectInviteParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1175
Definition: nim_qchat_server_cpp_def.h:1620
QChatServerSearchPageParam(const NIMQChatServerSearchPageParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1642
NIMQChatServerSearchPageParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1660
QChatServerSearchPageParam()=default
std::vector< uint32_t > server_types
搜索的服务器类型, 为空表示搜索所有类型
Definition: nim_qchat_server_cpp_def.h:1634
Definition: nim_qchat_server_cpp_def.h:1903
QChatServerSubscribeAllChannelParam(const NIMQChatServerSubscribeAllChannelParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1911
NIMQChatServerSubscribeAllChannelParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1922
QChatServerSubscribeAllChannelParam()=default
std::vector< uint64_t > server_ids
服务器 id 列表
Definition: nim_qchat_server_cpp_def.h:1909
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_cpp_def.h:1907
Definition: nim_qchat_server_cpp_def.h:743
QChatServerSubscribeAllChannelResp(const NIMQChatServerSubscribeAllChannelResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:751
QChatServerSubscribeAllChannelResp()=default
NIMQChatServerSubscribeAllChannelResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:760
Definition: nim_qchat_server_cpp_def.h:1997
QChatServerSubscribeAsVisitorParam(const NIMQChatServerSubscribeAsVisitorParam &c_param)
Definition: nim_qchat_server_cpp_def.h:2005
QChatServerSubscribeAsVisitorParam()=default
NIMQChatServerSubscribeAsVisitorParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:2017
Definition: nim_qchat_server_cpp_def.h:816
QChatServerSubscribeAsVisitorResp(const NIMQChatServerSubscribeAsVisitorResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:822
QChatServerSubscribeAsVisitorResp()=default
NIMQChatServerSubscribeAsVisitorResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:828
Definition: nim_qchat_server_cpp_def.h:1477
NIMQChatServerSubscribeParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1499
QChatServerSubscribeParam(const NIMQChatServerSubscribeParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1487
QChatServerSubscribeParam()=default
Definition: nim_qchat_server_cpp_def.h:563
QChatServerSubscribeResp()=default
QChatServerSubscribeResp(const NIMQChatServerSubscribeResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:569
NIMQChatServerSubscribeResp ToCParam() const
Definition: nim_qchat_server_cpp_def.h:575
Definition: nim_qchat_server_cpp_def.h:1550
std::string accid
用户id
Definition: nim_qchat_server_cpp_def.h:1556
std::string custom
自定义字段
Definition: nim_qchat_server_cpp_def.h:1558
QChatServerUnbanMemberParam()=default
NIMQChatServerUnbanMemberParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1570
QChatServerUnbanMemberParam(const NIMQChatServerUnbanMemberParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1560
Definition: nim_qchat_server_cpp_def.h:632
QChatServerUnreadResp()=default
QChatServerUnreadResp(const NIMQChatServerUnreadResp &c_resp)
Definition: nim_qchat_server_cpp_def.h:636
Definition: nim_qchat_server_cpp_def.h:1369
NIMQChatServerUpdateMemberInfoParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:1386
QChatServerUpdateMemberInfoParam(const NIMQChatServerUpdateMemberInfoParam &c_param)
Definition: nim_qchat_server_cpp_def.h:1377
QChatServerUpdateMemberInfoParam()=default
Definition: nim_qchat_server_cpp_def.h:976
QChatServerUpdateParam(const NIMQChatServerUpdateParam &c_param)
Definition: nim_qchat_server_cpp_def.h:984
NIMQChatServerUpdateParam ToCParam() const
Definition: nim_qchat_server_cpp_def.h:993
QChatServerUpdateParam()=default