11#ifndef __NIM_QCHAT_CHANNEL_CPP_DEF_H__
12#define __NIM_QCHAT_CHANNEL_CPP_DEF_H__
26 uint64_t server_id{0};
28 uint64_t channel_id{0};
32 std::string topic{
""};
34 std::string custom{
""};
38 std::string owner{
""};
42 bool valid_flag{
false};
44 uint64_t create_time{0};
46 uint64_t update_time{0};
48 uint64_t category_id{0};
52 uint64_t reorder_weight{0};
57 name = c_param.
name ? c_param.
name :
"";
74 c_param.
name =
const_cast<char*
>(name.c_str());
75 c_param.
topic =
const_cast<char*
>(topic.c_str());
76 c_param.
custom =
const_cast<char*
>(custom.c_str());
78 c_param.
owner =
const_cast<char*
>(owner.c_str());
103 c_param.
profile =
const_cast<char*
>(profile.c_str());
104 c_param.
scenario =
const_cast<char*
>(scenario.c_str());
114 uint32_t height{480};
119 width = c_param.
width;
125 c_param.
width = width;
142 limit = c_param.
limit;
143 audio = c_param.
audio;
144 video = c_param.
video;
148 c_param.
limit = limit;
149 c_param.
audio = audio.ToCParam();
150 c_param.
video = video.ToCParam();
158 uint64_t server_id{0};
160 uint64_t category_id{0};
162 std::string name{
""};
164 std::string custom{
""};
166 std::string owner{
""};
170 bool valid_flag{
false};
172 uint64_t create_time{0};
174 uint64_t update_time{0};
179 name = c_param.
name ? c_param.
name :
"";
191 c_param.
name =
const_cast<char*
>(name.c_str());
192 c_param.
custom =
const_cast<char*
>(custom.c_str());
193 c_param.
owner =
const_cast<char*
>(owner.c_str());
205 uint32_t res_code{0};
207 std::vector<NIMQChatChannelIDInfo> failed_channels{};
209 std::vector<NIMQChatUnreadInfo> unread_infos{};
234 uint32_t res_code{0};
242 for (
size_t i = 0; i < c_resp.unread_info_count; i++) {
243 unread_infos.push_back(c_resp.unread_infos[i]);
252 c_resp.unread_info_count = unread_infos.size();
260 uint32_t res_code{0};
292 uint32_t res_code{0};
294 std::list<QChatChannelInfo> channel_list{};
307 vec_channels.clear();
308 for (
auto&& it : channel_list) {
309 vec_channels.push_back(it.ToCParam());
317 mutable std::vector<NIMQChatChannelInfo> vec_channels;
323 uint32_t res_code{0};
327 std::list<QChatChannelInfo> channel_list{};
341 c_response.page_info = page_info.ToCParam();
342 vec_channels.clear();
343 for (
auto&& info : channel_list) {
344 vec_channels.push_back(info.ToCParam());
346 c_response.channel_list_count = vec_channels.size();
347 c_response.channel_list = vec_channels.data();
352 mutable std::vector<NIMQChatChannelInfo> vec_channels;
367typedef QChatBaseResp QChatChannelUpdateWhiteBlackRoleResp;
368typedef QChatBaseResp QChatChannelUpdateWhiteBlackMembersResp;
373 uint32_t res_code{0};
377 std::list<QChatServerRoleInfo> roles{};
384 for (
size_t i = 0; i < c_resp.
role_count; i++) {
385 roles.emplace_back(c_resp.
roles[i]);
391 c_response.page_info = page_info.ToCParam();
393 for (
const auto& role : roles) {
394 c_roles.push_back(role.ToCParam());
396 c_response.role_count = c_roles.size();
402 mutable std::vector<NIMQChatRoleInfo> c_roles;
408 uint32_t res_code{0};
412 std::list<QChatMemberInfo> members{};
420 members.emplace_back(c_resp.
members[i]);
426 c_response.page_info = page_info.ToCParam();
428 for (
const auto& member : members) {
429 c_members.push_back(member.ToCParam());
431 c_response.member_count = c_members.size();
437 mutable std::vector<NIMQChatMemberInfo> c_members;
443 uint32_t res_code{0};
445 std::list<QChatServerRoleInfo> roles{};
451 for (
size_t i = 0; i < c_resp.
role_count; i++) {
452 roles.emplace_back(c_resp.
roles[i]);
459 for (
const auto& role : roles) {
460 c_roles.push_back(role.ToCParam());
462 c_response.role_count = c_roles.size();
468 mutable std::vector<NIMQChatRoleInfo> c_roles;
474 uint32_t res_code{0};
476 std::list<QChatMemberInfo> members{};
483 members.emplace_back(c_resp.
members[i]);
490 for (
const auto& member : members) {
491 c_members.push_back(member.ToCParam());
493 c_response.member_count = c_members.size();
499 mutable std::vector<NIMQChatMemberInfo> c_members;
501using QChatChannelGetMembersPageResp = QChatServerGetMembersPageResp;
502using QChatChannelSearchPageResp = QChatChannelGetChannelsPageResp;
506 uint32_t res_code{0};
508 std::list<QChatMemberInfo> member_list{};
522 for (
auto&& info : member_list) {
523 vec_members.push_back(info.ToCParam());
525 c_response.member_list_count = vec_members.size();
526 c_response.member_list = vec_members.data();
531 mutable std::vector<NIMQChatMemberInfo> vec_members;
537 uint32_t res_code{0};
550 c_response.category_info = category_info.ToCParam();
564 uint32_t res_code{0};
566 std::list<QChatChannelCategoryInfo> categories{};
573 categories.emplace_back(c_resp.
categories[i]);
579 c_categories.clear();
580 for (
const auto& category : categories) {
581 c_categories.push_back(category.ToCParam());
583 c_response.category_count = c_categories.size();
589 mutable std::vector<NIMQChatChannelCategoryInfo> c_categories;
595 uint32_t res_code{0};
599 std::list<QChatChannelCategoryInfo> categories{};
607 categories.emplace_back(c_resp.
categories[i]);
613 c_response.page_info = page_info.ToCParam();
614 c_categories.clear();
615 for (
const auto& category : categories) {
616 c_categories.push_back(category.ToCParam());
618 c_response.category_count = c_categories.size();
624 mutable std::vector<NIMQChatChannelCategoryInfo> c_categories;
636 uint32_t res_code{0};
640 std::list<QChatServerRoleInfo> roles{};
647 for (
size_t i = 0; i < c_resp.
role_count; i++) {
648 roles.emplace_back(c_resp.
roles[i]);
654 c_response.page_info = page_info.ToCParam();
656 for (
const auto& role : roles) {
657 c_roles.push_back(role.ToCParam());
659 c_response.role_count = c_roles.size();
665 mutable std::vector<NIMQChatRoleInfo> c_roles;
671 uint32_t res_code{0};
673 std::list<QChatServerRoleInfo> roles{};
679 for (
size_t i = 0; i < c_resp.
role_count; i++) {
680 roles.emplace_back(c_resp.
roles[i]);
687 for (
const auto& role : roles) {
688 c_roles.push_back(role.ToCParam());
690 c_response.role_count = c_roles.size();
696 mutable std::vector<NIMQChatRoleInfo> c_roles;
705 uint32_t res_code{0};
709 std::list<QChatMemberInfo> members{};
717 members.emplace_back(c_resp.
members[i]);
723 c_response.page_info = page_info.ToCParam();
725 for (
const auto& member : members) {
726 c_members.push_back(member.ToCParam());
728 c_response.member_count = c_members.size();
734 mutable std::vector<NIMQChatMemberInfo> c_members;
740 uint32_t res_code{0};
742 std::list<QChatMemberInfo> members{};
749 members.emplace_back(c_resp.
members[i]);
756 for (
const auto& member : members) {
757 c_members.push_back(member.ToCParam());
759 c_response.member_count = c_members.size();
765 mutable std::vector<NIMQChatMemberInfo> c_members;
787 c_response.rtc_info = rtc_info.ToCParam();
804 members.emplace_back(c_resp.
members[i]);
811 for (
const auto& member : members) {
812 c_members.push_back(member.ToCParam());
814 c_response.member_count = c_members.size();
820 mutable std::vector<NIMQChatMemberInfo> c_members;
914 std::vector<NIMQChatChannelIDInfo> id_infos{};
920 id_infos.push_back(c_param.
id_infos[i]);
922 cb = [c_callback = c_param.
cb, user_data = c_param.user_data](
const QChatChannelSubscribeResp& response) {
923 auto c_response = response.ToCParam();
924 c_response.user_data = user_data;
925 c_callback(c_response);
931 param.user_data = cb_holder;
933 InvokeCallback<ChannelSubscribeCallback, NIMQChatChannelSubscribeResp>(resp);
948 std::vector<NIMQChatChannelIDInfo> id_infos{};
952 id_infos.push_back(c_param.
id_infos[i]);
954 cb = [c_callback = c_param.
cb, user_data = c_param.
user_data](
const QChatChannelQueryUnreadInfoResp& response) {
955 auto c_response = response.ToCParam();
957 c_callback(c_response);
965 InvokeCallback<ChannelQueryUnreadInfoCallback, NIMQChatChannelQueryUnreadInfoResp>(resp);
986 auto c_response = response.ToCParam();
987 c_response.user_data = user_data;
988 c_callback(c_response);
996 InvokeCallback<ChannelCreateCallback, NIMQChatChannelCreateResp>(resp);
1009 uint64_t channel_id{0};
1014 auto c_response = response.ToCParam();
1015 c_response.user_data = user_data;
1016 c_callback(c_response);
1024 InvokeCallback<ChannelDeleteCallback, NIMQChatChannelDeleteResp>(resp);
1036 uint64_t channel_id{0};
1050 name = c_param.
name;
1051 topic = c_param.
topic;
1056 auto c_response = response.ToCParam();
1057 c_response.user_data = user_data;
1058 c_callback(c_response);
1066 InvokeCallback<ChannelUpdateCallback, NIMQChatChannelUpdateResp>(resp);
1069 param.
name =
const_cast<char*
>(name.c_str());
1070 param.
topic =
const_cast<char*
>(topic.c_str());
1071 param.
custom =
const_cast<char*
>(custom.c_str());
1083 uint64_t channel_id{0};
1085 uint64_t category_id{0};
1094 auto c_response = response.ToCParam();
1095 c_response.user_data = user_data;
1096 c_callback(c_response);
1104 InvokeCallback<ChannelUpdateCategoryInfoCallback, NIMQChatChannelUpdateCategoryInfoResp>(resp);
1118 std::vector<uint64_t> channel_ids{};
1122 channel_ids.push_back(c_param.
channel_ids[index]);
1124 cb = [c_callback = c_param.
cb, user_data = c_param.
user_data](
const QChatChannelGetChannelsResp& response) {
1125 auto c_response = response.ToCParam();
1127 c_callback(c_response);
1135 InvokeCallback<GetChannelsCallback, NIMQChatChannelGetChannelsResp>(resp);
1138 param.
channel_ids =
const_cast<uint64_t*
>(channel_ids.data());
1148 uint64_t server_id{0};
1150 uint64_t timestamp{0};
1152 uint32_t limit{100};
1157 limit = c_param.
limit;
1159 auto c_response = response.ToCParam();
1160 c_response.user_data = user_data;
1161 c_callback(c_response);
1169 InvokeCallback<GetChannelsPageCallback, NIMQChatChannelGetChannelsPageResp>(resp);
1173 param.
limit = limit;
1183 uint64_t server_id{0};
1185 uint64_t channel_id{0};
1187 uint64_t timestamp{0};
1189 uint32_t limit{100};
1195 limit = c_param.
limit;
1197 auto c_response = response.ToCParam();
1198 c_response.user_data = user_data;
1199 c_callback(c_response);
1207 InvokeCallback<ChannelGetMembersPageCallback, NIMQChatChannelGetMembersPageResp>(resp);
1212 param.
limit = limit;
1222 uint64_t server_id{0};
1224 uint64_t channel_id{0};
1226 uint64_t role_id{0};
1228 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1230 NIMQChatChannelWhiteBlackOpeType ope_type{kNIMQChatChannelWhiteBlackOpeTypeAdd};
1236 type = c_param.
type;
1239 auto c_response = response.ToCParam();
1240 c_response.user_data = user_data;
1241 c_callback(c_response);
1249 InvokeCallback<UpdateWhiteBlackRoleCallback, NIMQChatChannelUpdateWhiteBlackRoleResp>(resp);
1265 uint64_t server_id{0};
1267 uint64_t channel_id{0};
1271 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1273 NIMQChatChannelWhiteBlackOpeType ope_type{kNIMQChatChannelWhiteBlackOpeTypeAdd};
1279 accids.push_back(c_param.
accids[i]);
1280 type = c_param.
type;
1283 auto c_response = response.ToCParam();
1284 c_response.user_data = user_data;
1285 c_callback(c_response);
1293 InvokeCallback<UpdateWhiteBlackMembersCallback, NIMQChatChannelUpdateWhiteBlackMembersResp>(resp);
1298 for (
auto&& accid : accids)
1299 accids_vec.push_back(
const_cast<char*
>(accid.c_str()));
1301 param.
accids = accids_vec.data();
1308 mutable std::vector<char*> accids_vec;
1316 uint64_t server_id{0};
1318 uint64_t channel_id{0};
1320 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1329 type = c_param.
type;
1331 limit = c_param.
limit;
1333 auto c_response = response.ToCParam();
1334 c_response.user_data = user_data;
1335 c_callback(c_response);
1343 InvokeCallback<GetWhiteBlackRolesPageCallback, NIMQChatChannelGetWhiteBlackRolesPageResp>(resp);
1349 param.
limit = limit;
1359 uint64_t server_id{0};
1361 uint64_t channel_id{0};
1363 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1372 type = c_param.
type;
1374 limit = c_param.
limit;
1376 auto c_response = response.ToCParam();
1377 c_response.user_data = user_data;
1378 c_callback(c_response);
1386 InvokeCallback<GetWhiteBlackMembersPageCallback, NIMQChatChannelGetWhiteBlackMembersPageResp>(resp);
1392 param.
limit = limit;
1402 uint64_t server_id{0};
1404 uint64_t channel_id{0};
1406 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1413 type = c_param.
type;
1415 role_ids.push_back(c_param.
role_ids[i]);
1417 auto c_response = response.ToCParam();
1418 c_response.user_data = user_data;
1419 c_callback(c_response);
1427 InvokeCallback<GetExistingWhiteBlackRolesCallback, NIMQChatChannelGetExistingWhiteBlackRolesResp>(resp);
1432 role_ids_vec.clear();
1433 for (
auto&& role_id : role_ids)
1434 role_ids_vec.push_back(role_id);
1436 param.
role_ids = role_ids_vec.data();
1441 mutable std::vector<uint64_t> role_ids_vec;
1449 uint64_t server_id{0};
1451 uint64_t channel_id{0};
1453 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1460 type = c_param.
type;
1462 accids.push_back(c_param.
accids[i]);
1464 auto c_response = response.ToCParam();
1465 c_response.user_data = user_data;
1466 c_callback(c_response);
1474 InvokeCallback<GetExistingWhiteBlackMembersCallback, NIMQChatChannelGetExistingWhiteBlackMembersResp>(resp);
1480 for (
auto&& accid : accids)
1481 accids_vec.push_back(
const_cast<char*
>(accid.c_str()));
1483 param.
accids = accids_vec.data();
1488 mutable std::vector<char*> accids_vec;
1496 uint64_t server_id{0};
1498 std::string keyword{
""};
1500 uint64_t start_time{0};
1502 uint64_t end_time{0};
1508 uint32_t limit{100};
1510 std::string cursor{
""};
1517 order = c_param.
order;
1518 sort = c_param.
sort;
1519 limit = c_param.
limit;
1522 auto c_response = response.ToCParam();
1523 c_response.user_data = user_data;
1524 c_callback(c_response);
1532 InvokeCallback<ChannelSearchPageCallback, NIMQChatChannelSearchPageResp>(resp);
1535 param.
keyword =
const_cast<char*
>(keyword.c_str());
1538 param.
order = order;
1540 param.
limit = limit;
1541 param.
cursor =
const_cast<char*
>(cursor.c_str());
1551 uint64_t server_id{0};
1553 uint64_t channel_id{0};
1555 std::string keyword{
""};
1557 uint32_t limit{100};
1563 limit = c_param.
limit;
1565 auto c_response = response.ToCParam();
1566 c_response.user_data = user_data;
1567 c_callback(c_response);
1575 InvokeCallback<ChannelMemberSearchCallback, NIMQChatChannelMemberSearchResp>(resp);
1579 param.
keyword =
const_cast<char*
>(keyword.c_str());
1580 param.
limit = limit;
1590 uint64_t server_id{0};
1592 std::string name{
""};
1594 std::string custom{
""};
1600 name = c_param.
name;
1604 auto c_response = response.ToCParam();
1605 c_response.user_data = user_data;
1606 c_callback(c_response);
1614 InvokeCallback<ChannelCategoryCreateCallback, NIMQChatChannelCategoryCreateResp>(resp);
1617 param.
name =
const_cast<char*
>(name.c_str());
1618 param.
custom =
const_cast<char*
>(custom.c_str());
1629 uint64_t category_id{0};
1634 auto c_response = response.ToCParam();
1635 c_response.user_data = user_data;
1636 c_callback(c_response);
1644 InvokeCallback<ChannelCategoryRemoveCallback, NIMQChatChannelCategoryRemoveResp>(resp);
1656 uint64_t category_id{0};
1658 std::string name{
""};
1660 std::string custom{
""};
1666 name = c_param.
name;
1670 auto c_response = response.ToCParam();
1671 c_response.user_data = user_data;
1672 c_callback(c_response);
1680 InvokeCallback<ChannelCategoryUpdateCallback, NIMQChatChannelCategoryUpdateResp>(resp);
1683 param.
name =
const_cast<char*
>(name.c_str());
1684 param.
custom =
const_cast<char*
>(custom.c_str());
1701 auto c_response = response.ToCParam();
1703 c_callback(c_response);
1711 InvokeCallback<ChannelGetCategoriesByIDCallback, NIMQChatChannelGetCategoriesByIDResp>(resp);
1713 param.
category_ids =
const_cast<uint64_t*
>(category_ids.data());
1724 uint64_t server_id{0};
1726 uint64_t timestamp{0};
1728 uint32_t limit{100};
1733 limit = c_param.
limit;
1735 auto c_response = response.ToCParam();
1736 c_response.user_data = user_data;
1737 c_callback(c_response);
1745 InvokeCallback<ChannelGetCategoriesPageCallback, NIMQChatChannelGetCategoriesPageResp>(resp);
1749 param.
limit = limit;
1759 uint64_t server_id{0};
1761 uint64_t category_id{0};
1763 uint64_t timestamp{0};
1765 uint32_t limit{100};
1771 limit = c_param.
limit;
1773 auto c_response = response.ToCParam();
1774 c_response.user_data = user_data;
1775 c_callback(c_response);
1783 InvokeCallback<ChannelGetCategoryChannelsPageCallback, NIMQChatChannelGetCategoryChannelsPageResp>(resp);
1788 param.
limit = limit;
1798 uint64_t server_id{0};
1800 uint64_t category_id{0};
1802 uint64_t role_id{0};
1804 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1806 NIMQChatChannelWhiteBlackOpeType ope_type{kNIMQChatChannelWhiteBlackOpeTypeAdd};
1812 type = c_param.
type;
1815 auto c_response = response.ToCParam();
1816 c_response.user_data = user_data;
1817 c_callback(c_response);
1825 InvokeCallback<ChannelCategoryUpdateWhiteBlackRoleCallback, NIMQChatChannelCategoryUpdateWhiteBlackRoleResp>(resp);
1841 uint64_t server_id{0};
1843 uint64_t category_id{0};
1845 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1847 uint64_t timestamp{0};
1849 uint32_t limit{100};
1854 type = c_param.
type;
1856 limit = c_param.
limit;
1858 auto c_response = response.ToCParam();
1859 c_response.user_data = user_data;
1860 c_callback(c_response);
1868 InvokeCallback<ChannelCategoryGetWhiteBlackRolesPageCallback, NIMQChatChannelCategoryGetWhiteBlackRolesPageResp>(resp);
1874 param.
limit = limit;
1884 uint64_t server_id{0};
1886 uint64_t category_id{0};
1888 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1895 type = c_param.
type;
1897 role_ids.push_back(c_param.
role_ids[i]);
1899 auto c_response = response.ToCParam();
1900 c_response.user_data = user_data;
1901 c_callback(c_response);
1909 InvokeCallback<ChannelCategoryGetExistingWhiteBlackRolesCallback, NIMQChatChannelCategoryGetExistingWhiteBlackRolesResp>(resp);
1914 param.
role_ids =
const_cast<uint64_t*
>(role_ids.data());
1925 uint64_t server_id{0};
1927 uint64_t category_id{0};
1931 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1933 NIMQChatChannelWhiteBlackOpeType ope_type{kNIMQChatChannelWhiteBlackOpeTypeAdd};
1939 accids.push_back(c_param.
accids[i]);
1940 type = c_param.
type;
1943 auto c_response = response.ToCParam();
1944 c_response.user_data = user_data;
1945 c_callback(c_response);
1953 InvokeCallback<ChannelCategoryUpdateWhiteBlackMembersCallback, NIMQChatChannelCategoryUpdateWhiteBlackMembersResp>(resp);
1956 for (
auto& accid : accids)
1957 vec_accids.push_back(
const_cast<char*
>(accid.c_str()));
1958 param.
accids =
const_cast<char**
>(vec_accids.data());
1968 mutable std::vector<char*> vec_accids;
1976 uint64_t server_id{0};
1978 uint64_t category_id{0};
1980 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
1982 uint64_t timestamp{0};
1984 uint32_t limit{100};
1989 type = c_param.
type;
1991 limit = c_param.
limit;
1993 auto c_response = response.ToCParam();
1994 c_response.user_data = user_data;
1995 c_callback(c_response);
2003 InvokeCallback<ChannelCategoryGetWhiteBlackMembersPageCallback, NIMQChatChannelCategoryGetWhiteBlackMembersPageResp>(resp);
2009 param.
limit = limit;
2019 uint64_t server_id{0};
2021 uint64_t category_id{0};
2023 NIMQChatChannelWhiteBlackType type{kNIMQChatChannelBlack};
2030 type = c_param.
type;
2032 accids.push_back(c_param.
accids[i]);
2034 auto c_response = response.ToCParam();
2035 c_response.user_data = user_data;
2036 c_callback(c_response);
2044 InvokeCallback<ChannelCategoryGetExistingWhiteBlackMembersCallback, NIMQChatChannelCategoryGetWhiteBlackMembersResp>(resp);
2047 for (
auto& accid : accids)
2048 vec_accids.push_back(
const_cast<char*
>(accid.c_str()));
2049 param.
accids =
const_cast<char**
>(vec_accids.data());
2058 mutable std::vector<char*> vec_accids;
2066 uint64_t server_id{0};
2068 uint64_t channel_id{0};
2077 auto c_response = response.ToCParam();
2078 c_response.user_data = user_data;
2079 c_callback(c_response);
2087 InvokeCallback<ChannelUpdateRTCInfoCallback, NIMQChatChannelUpdateRTCInfoResp>(resp);
2091 param.
rtc_info = rtc_info.ToCParam();
2101 uint64_t server_id{0};
2103 uint64_t channel_id{0};
2109 auto c_response = response.ToCParam();
2110 c_response.user_data = user_data;
2111 c_callback(c_response);
2119 InvokeCallback<ChannelGetRTCInfoCallback, NIMQChatChannelGetRTCInfoResp>(resp);
2132 uint64_t server_id{0};
2134 uint64_t channel_id{0};
2140 auto c_response = response.ToCParam();
2141 c_response.user_data = user_data;
2142 c_callback(c_response);
2150 InvokeCallback<ChannelGetRTCOnlineMembersCallback, NIMQChatChannelGetRTCOnlineMembersResp>(resp);
std::function< void(const QChatChannelQueryUnreadInfoResp &)> ChannelQueryUnreadInfoCallback
查询未读消息数回调
Definition: nim_qchat_channel_cpp_def.h:840
std::function< void(const QChatChannelGetRTCOnlineMembersResp &)> ChannelGetRTCOnlineMembersCallback
查询RTC频道在线成员回调
Definition: nim_qchat_channel_cpp_def.h:888
std::function< void(const QChatChannelCategoryUpdateWhiteBlackMembersResp &)> ChannelCategoryUpdateWhiteBlackMembersCallback
更新频道分组白/黑名单成员
Definition: nim_qchat_channel_cpp_def.h:878
std::function< void(const QChatChannelUpdateWhiteBlackRoleResp &)> UpdateWhiteBlackRoleCallback
更新白/黑名单身份组回调
Definition: nim_qchat_channel_cpp_def.h:844
std::function< void(const QChatChannelCategoryGetWhiteBlackRolesPageResp &)> ChannelCategoryGetWhiteBlackRolesPageCallback
分页查询频道分组白/黑名单身份组
Definition: nim_qchat_channel_cpp_def.h:874
std::function< void(const QChatChannelCreateResp &)> ChannelCreateCallback
创建频道回调
Definition: nim_qchat_channel_cpp_def.h:826
std::function< void(const QChatChannelDeleteResp &)> ChannelDeleteCallback
删除频道回调
Definition: nim_qchat_channel_cpp_def.h:828
std::function< void(const QChatChannelGetCategoryChannelsPageResp &)> ChannelGetCategoryChannelsPageCallback
分页查询指定频道分组中的频道
Definition: nim_qchat_channel_cpp_def.h:870
std::function< void(const QChatChannelGetChannelsResp &)> GetChannelsCallback
查询频道列表回调
Definition: nim_qchat_channel_cpp_def.h:834
std::function< void(const QChatChannelCategoryGetExistingWhiteBlackMembersResp &)> ChannelCategoryGetExistingWhiteBlackMembersCallback
批量查询频道分组白/黑名单成员
Definition: nim_qchat_channel_cpp_def.h:882
std::function< void(const QChatChannelGetWhiteBlackRolesPageResp &)> GetWhiteBlackRolesPageCallback
分页查询白/黑名单身份组回调
Definition: nim_qchat_channel_cpp_def.h:848
std::function< void(const QChatChannelUpdateRTCInfoResp &)> ChannelUpdateRTCInfoCallback
修改RTC频道参数回调
Definition: nim_qchat_channel_cpp_def.h:884
std::function< void(const QChatChannelCategoryGetExistingWhiteBlackRolesResp &)> ChannelCategoryGetExistingWhiteBlackRolesCallback
批量查询频道分组白/黑名单身份组
Definition: nim_qchat_channel_cpp_def.h:876
std::function< void(const QChatChannelCategoryCreateResp &)> ChannelCategoryCreateCallback
创建频道分组回调
Definition: nim_qchat_channel_cpp_def.h:860
std::function< void(const QChatChannelGetCategoriesByIDResp &)> ChannelGetCategoriesByIDCallback
根据频道分组ID查询频道分组列表回调
Definition: nim_qchat_channel_cpp_def.h:866
std::function< void(const QChatChannelGetExistingWhiteBlackMembersResp &)> GetExistingWhiteBlackMembersCallback
查询已存在白/黑名单成员回调
Definition: nim_qchat_channel_cpp_def.h:854
std::function< void(const QChatChannelGetRTCInfoResp &)> ChannelGetRTCInfoCallback
查询RTC频道参数回调
Definition: nim_qchat_channel_cpp_def.h:886
std::function< void(const QChatChannelUnreadResp &)> ChannelUnreadCallback
未读信息回调
Definition: nim_qchat_channel_cpp_def.h:824
std::function< void(const QChatChannelUpdateResp &)> ChannelUpdateCallback
更新频道回调
Definition: nim_qchat_channel_cpp_def.h:830
std::function< void(const QChatChannelGetCategoriesPageResp &)> ChannelGetCategoriesPageCallback
分页查询频道分组回调
Definition: nim_qchat_channel_cpp_def.h:868
std::function< void(const QChatChannelCategoryUpdateResp &)> ChannelCategoryUpdateCallback
更新频道分组回调
Definition: nim_qchat_channel_cpp_def.h:864
GetChannelsPageCallback ChannelSearchPageCallback
搜索频道分页回调
Definition: nim_qchat_channel_cpp_def.h:856
std::function< void(const QChatChannelMemberSearchResp &)> ChannelMemberSearchCallback
搜索频道成员回调
Definition: nim_qchat_channel_cpp_def.h:858
std::function< void(const QChatChannelSubscribeResp &)> ChannelSubscribeCallback
订阅回调
Definition: nim_qchat_channel_cpp_def.h:842
std::function< void(const QChatChannelGetWhiteBlackMembersPageResp &)> GetWhiteBlackMembersPageCallback
分页查询白/黑名单成员回调
Definition: nim_qchat_channel_cpp_def.h:850
std::function< void(const QChatChannelCategoryGetWhiteBlackMembersPageResp &)> ChannelCategoryGetWhiteBlackMembersPageCallback
分页查询频道分组白/黑名单成员
Definition: nim_qchat_channel_cpp_def.h:880
std::function< void(const QChatChannelGetExistingWhiteBlackRolesResp &)> GetExistingWhiteBlackRolesCallback
查询已存在白/黑名单身份组回调
Definition: nim_qchat_channel_cpp_def.h:852
std::function< void(const QChatChannelUpdateWhiteBlackMembersResp &)> UpdateWhiteBlackMembersCallback
更新白/黑名单成员回调
Definition: nim_qchat_channel_cpp_def.h:846
std::function< void(const QChatChannelGetMembersPageResp &)> ChannelGetMembersPageCallback
分页查询成员列表回调
Definition: nim_qchat_channel_cpp_def.h:838
std::function< void(const QChatChannelCategoryUpdateWhiteBlackRoleResp &)> ChannelCategoryUpdateWhiteBlackRoleCallback
更新频道分组白/黑名单身份组
Definition: nim_qchat_channel_cpp_def.h:872
std::function< void(const QChatChannelGetChannelsPageResp &)> GetChannelsPageCallback
分页查询频道列表回调
Definition: nim_qchat_channel_cpp_def.h:836
std::function< void(const QChatChannelUpdateCategoryInfoResp &)> ChannelUpdateCategoryInfoCallback
更新频道的分组信息回调
Definition: nim_qchat_channel_cpp_def.h:832
std::function< void(const QChatChannelCategoryRemoveResp &)> ChannelCategoryRemoveCallback
删除频道分组回调
Definition: nim_qchat_channel_cpp_def.h:862
@ kNIMResSuccess
Definition: nim_chatroom_res_code_def.h:18
NIMQChatChannelType
圈组频道类型
Definition: nim_qchat_channel_def.h:24
@ kNIMQChatChannelTypeText
普通文本频道
Definition: nim_qchat_channel_def.h:26
NIMQChatChannelViewMode
Definition: nim_qchat_public_def.h:21
@ kNIMQChatChannelViewModePublic
公开模式
Definition: nim_qchat_public_def.h:23
NIMQChatChannelSyncMode
Definition: nim_qchat_public_def.h:29
@ kNIMQChatChannelSyncModeSync
与频道分组同步
Definition: nim_qchat_public_def.h:33
NIMQChatSubscribeType
Definition: nim_qchat_public_def.h:45
@ kNIMQChatSubscribeTypeMsg
订阅某个channel的【消息】/【通知】
Definition: nim_qchat_public_def.h:49
NIMQChatSearchOrder
搜索排序顺序
Definition: nim_qchat_public_def.h:82
@ kNIMQChatSearchOrderAsc
按时间正序
Definition: nim_qchat_public_def.h:84
NIMQChatChannelSearchSort
频道搜索排序规则
Definition: nim_qchat_public_def.h:100
@ kNIMQChatChannelSearchSortCreateTime
创建时间排序
Definition: nim_qchat_public_def.h:104
NIMQChatSubscribeOpeType
Definition: nim_qchat_public_def.h:37
@ kNIMQChatSubscribeOpeTypeSubscribe
订阅
Definition: nim_qchat_public_def.h:39
Definition: nim_qchat_channel_def.h:775
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:779
char * custom
自定义字段
Definition: nim_qchat_channel_def.h:785
char * name
名称
Definition: nim_qchat_channel_def.h:783
nim_qchat_channel_create_category_cb_func cb
创建频道分组回调
Definition: nim_qchat_channel_def.h:777
uint64_t server_id
服务器 id
Definition: nim_qchat_channel_def.h:781
NIMQChatChannelViewMode view_mode
查看模式
Definition: nim_qchat_channel_def.h:787
Definition: nim_qchat_channel_def.h:297
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:299
NIMQChatChannelCategoryInfo category_info
频道分组信息
Definition: nim_qchat_channel_def.h:303
Definition: nim_qchat_channel_def.h:951
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:961
char ** accids
成员ID列表
Definition: nim_qchat_channel_def.h:963
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:955
uint64_t category_id
分组ID
Definition: nim_qchat_channel_def.h:959
nim_qchat_channel_get_category_white_black_members_cb_func cb
获取频道分组白/黑名单成员回调
Definition: nim_qchat_channel_def.h:953
uint64_t server_id
服务器 ID
Definition: nim_qchat_channel_def.h:957
size_t accids_count
成员ID列表长度
Definition: nim_qchat_channel_def.h:965
Definition: nim_qchat_channel_def.h:895
uint64_t server_id
服务器 ID
Definition: nim_qchat_channel_def.h:901
uint64_t category_id
分组ID
Definition: nim_qchat_channel_def.h:903
size_t role_ids_count
身份组ID列表长度
Definition: nim_qchat_channel_def.h:909
nim_qchat_channel_get_category_white_black_roles_cb_func cb
获取频道分组白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:897
uint64_t * role_ids
身份组ID列表
Definition: nim_qchat_channel_def.h:907
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:905
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:899
Definition: nim_qchat_channel_def.h:359
NIMQChatRoleInfo * roles
身份组列表
Definition: nim_qchat_channel_def.h:365
size_t role_count
身份组数量
Definition: nim_qchat_channel_def.h:367
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:361
Definition: nim_qchat_channel_def.h:933
uint64_t server_id
服务器 ID
Definition: nim_qchat_channel_def.h:939
uint64_t category_id
分组ID
Definition: nim_qchat_channel_def.h:941
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:943
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_def.h:945
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:947
nim_qchat_channel_get_category_white_black_members_page_cb_func cb
获取频道分组白/黑名单成员回调
Definition: nim_qchat_channel_def.h:935
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:937
Definition: nim_qchat_channel_def.h:374
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_channel_def.h:380
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:376
NIMQChatMemberInfo * members
成员列表
Definition: nim_qchat_channel_def.h:382
size_t member_count
成员数量
Definition: nim_qchat_channel_def.h:384
Definition: nim_qchat_channel_def.h:388
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:390
NIMQChatMemberInfo * members
成员列表
Definition: nim_qchat_channel_def.h:394
size_t member_count
成员数量
Definition: nim_qchat_channel_def.h:396
Definition: nim_qchat_channel_def.h:877
uint64_t server_id
服务器 ID
Definition: nim_qchat_channel_def.h:883
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:891
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:881
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_def.h:889
uint64_t category_id
分组ID
Definition: nim_qchat_channel_def.h:885
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:887
nim_qchat_channel_get_category_white_black_roles_page_cb_func cb
获取频道分组白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:879
Definition: nim_qchat_channel_def.h:345
size_t role_count
身份组数量
Definition: nim_qchat_channel_def.h:355
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_channel_def.h:351
NIMQChatRoleInfo * roles
身份组列表
Definition: nim_qchat_channel_def.h:353
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:347
Definition: nim_qchat_channel_def.h:118
uint64_t category_id
分组ID
Definition: nim_qchat_channel_def.h:122
uint64_t update_time
更新时间
Definition: nim_qchat_channel_def.h:136
NIMQChatChannelViewMode view_mode
查看模式
Definition: nim_qchat_channel_def.h:130
char * custom
自定义字段
Definition: nim_qchat_channel_def.h:126
uint64_t server_id
服务器ID
Definition: nim_qchat_channel_def.h:120
bool valid_flag
有效标记,false:无效 true:有效
Definition: nim_qchat_channel_def.h:132
char * owner
拥有者
Definition: nim_qchat_channel_def.h:128
char * name
名称
Definition: nim_qchat_channel_def.h:124
uint64_t create_time
创建时间
Definition: nim_qchat_channel_def.h:134
Definition: nim_qchat_channel_def.h:791
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:795
uint64_t category_id
分组 id
Definition: nim_qchat_channel_def.h:797
nim_qchat_channel_remove_category_cb_func cb
删除频道分组回调
Definition: nim_qchat_channel_def.h:793
Definition: nim_qchat_channel_def.h:801
char * custom
自定义字段
Definition: nim_qchat_channel_def.h:811
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:805
char * name
名称
Definition: nim_qchat_channel_def.h:809
nim_qchat_channel_update_category_cb_func cb
更新频道分组回调
Definition: nim_qchat_channel_def.h:803
uint64_t category_id
分组 id
Definition: nim_qchat_channel_def.h:807
NIMQChatChannelViewMode view_mode
查看模式
Definition: nim_qchat_channel_def.h:813
Definition: nim_qchat_channel_def.h:913
uint64_t category_id
分组ID
Definition: nim_qchat_channel_def.h:921
size_t accids_count
成员ID列表长度
Definition: nim_qchat_channel_def.h:925
char ** accids
成员ID列表
Definition: nim_qchat_channel_def.h:923
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:927
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:917
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_channel_def.h:929
uint64_t server_id
服务器 ID
Definition: nim_qchat_channel_def.h:919
nim_qchat_channel_update_category_white_black_members_cb_func cb
更新频道分组白/黑名单成员回调
Definition: nim_qchat_channel_def.h:915
Definition: nim_qchat_channel_def.h:859
nim_qchat_channel_update_category_white_black_role_cb_func cb
更新频道分组白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:861
uint64_t role_id
身份组ID
Definition: nim_qchat_channel_def.h:869
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_channel_def.h:873
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:863
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:871
uint64_t server_id
服务器 ID
Definition: nim_qchat_channel_def.h:865
uint64_t category_id
分组ID
Definition: nim_qchat_channel_def.h:867
Definition: nim_qchat_channel_def.h:500
nim_qchat_channel_create_cb_func cb
创建频道异步回调
Definition: nim_qchat_channel_def.h:502
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_channel_def.h:508
NIMQChatChannelInfo channel_info
频道信息
Definition: nim_qchat_channel_def.h:506
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:504
Definition: nim_qchat_channel_def.h:140
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:142
NIMQChatChannelInfo channel_info
频道信息
Definition: nim_qchat_channel_def.h:146
Definition: nim_qchat_channel_def.h:512
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:516
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:518
nim_qchat_channel_remove_cb_func cb
移除频道异步回调
Definition: nim_qchat_channel_def.h:514
Definition: nim_qchat_channel_def.h:817
size_t category_ids_count
分组ID列表长度
Definition: nim_qchat_channel_def.h:825
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:821
nim_qchat_channel_get_categories_cb_func cb
获取频道分组回调
Definition: nim_qchat_channel_def.h:819
uint64_t * category_ids
分组ID列表
Definition: nim_qchat_channel_def.h:823
Definition: nim_qchat_channel_def.h:313
size_t category_count
分组数量
Definition: nim_qchat_channel_def.h:321
NIMQChatChannelCategoryInfo * categories
分组列表
Definition: nim_qchat_channel_def.h:319
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:315
Definition: nim_qchat_channel_def.h:829
uint64_t server_id
服务器 id
Definition: nim_qchat_channel_def.h:835
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:839
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:833
nim_qchat_channel_get_categories_page_cb_func cb
分页获取频道分组回调
Definition: nim_qchat_channel_def.h:831
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_def.h:837
Definition: nim_qchat_channel_def.h:325
NIMQChatChannelCategoryInfo * categories
分组列表
Definition: nim_qchat_channel_def.h:333
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:327
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_channel_def.h:331
size_t category_count
分组数量
Definition: nim_qchat_channel_def.h:335
Definition: nim_qchat_channel_def.h:843
uint64_t category_id
分组 id
Definition: nim_qchat_channel_def.h:851
uint64_t server_id
服务器 id
Definition: nim_qchat_channel_def.h:849
nim_qchat_channel_get_category_channels_page_cb_func cb
分页获取频道分组回调
Definition: nim_qchat_channel_def.h:845
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_def.h:853
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:855
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:847
Definition: nim_qchat_channel_def.h:568
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:572
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:578
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_def.h:576
uint64_t server_id
服务器ID
Definition: nim_qchat_channel_def.h:574
nim_qchat_channel_get_channels_page_cb_func cb
查询频道列表异步回调
Definition: nim_qchat_channel_def.h:570
Definition: nim_qchat_channel_def.h:171
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:173
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_channel_def.h:177
NIMQChatChannelInfo * channel_list
频道列表
Definition: nim_qchat_channel_def.h:181
size_t channel_list_count
频道列表数量
Definition: nim_qchat_channel_def.h:179
Definition: nim_qchat_channel_def.h:556
nim_qchat_channel_get_channels_cb_func cb
查询频道列表异步回调
Definition: nim_qchat_channel_def.h:558
size_t channel_ids_count
频道id列表长度
Definition: nim_qchat_channel_def.h:562
uint64_t * channel_ids
频道id列表
Definition: nim_qchat_channel_def.h:564
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:560
Definition: nim_qchat_channel_def.h:159
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:161
NIMQChatChannelInfo * channel_list
频道列表
Definition: nim_qchat_channel_def.h:167
size_t channel_list_count
频道列表数量
Definition: nim_qchat_channel_def.h:165
Definition: nim_qchat_channel_def.h:717
uint64_t server_id
服务器ID
Definition: nim_qchat_channel_def.h:723
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:721
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:727
nim_qchat_channel_get_existing_white_black_members_cb_func cb
查询白/黑名单成员列表回调
Definition: nim_qchat_channel_def.h:719
char ** accids
accid列表
Definition: nim_qchat_channel_def.h:729
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:725
size_t accids_count
accid列表长度
Definition: nim_qchat_channel_def.h:731
Definition: nim_qchat_channel_def.h:270
NIMQChatMemberInfo * members
成员列表
Definition: nim_qchat_channel_def.h:276
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:272
size_t member_count
成员数量
Definition: nim_qchat_channel_def.h:278
Definition: nim_qchat_channel_def.h:699
uint64_t * role_ids
身份组id列表
Definition: nim_qchat_channel_def.h:711
uint64_t server_id
服务器ID
Definition: nim_qchat_channel_def.h:705
nim_qchat_channel_get_existing_white_black_roles_cb_func cb
查询白/黑名单身份组列表回调
Definition: nim_qchat_channel_def.h:701
size_t role_ids_count
身份组id列表长度
Definition: nim_qchat_channel_def.h:713
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:707
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:703
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:709
Definition: nim_qchat_channel_def.h:258
NIMQChatRoleInfo * roles
身份组列表
Definition: nim_qchat_channel_def.h:264
size_t role_count
身份组数量
Definition: nim_qchat_channel_def.h:266
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:260
Definition: nim_qchat_channel_def.h:582
nim_qchat_channel_get_members_page_cb_func cb
查询成员列表异步回调
Definition: nim_qchat_channel_def.h:584
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_def.h:592
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:590
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:586
uint64_t server_id
服务器ID
Definition: nim_qchat_channel_def.h:588
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:594
Definition: nim_qchat_channel_def.h:983
nim_qchat_channel_get_rtc_info_cb_func cb
获取频道RTC信息回调
Definition: nim_qchat_channel_def.h:985
uint64_t server_id
服务器 ID
Definition: nim_qchat_channel_def.h:989
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:987
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:991
Definition: nim_qchat_channel_def.h:403
NIMQChatChannelRTCInfo rtc_info
RTC信息
Definition: nim_qchat_channel_def.h:409
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:405
Definition: nim_qchat_channel_def.h:995
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:1003
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:999
uint64_t server_id
服务器 ID
Definition: nim_qchat_channel_def.h:1001
nim_qchat_channel_get_rtc_online_members_cb_func cb
获取频道RTC在线成员回调
Definition: nim_qchat_channel_def.h:997
Definition: nim_qchat_channel_def.h:413
NIMQChatMemberInfo * members
成员列表
Definition: nim_qchat_channel_def.h:419
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:415
size_t member_count
成员数量
Definition: nim_qchat_channel_def.h:421
Definition: nim_qchat_channel_def.h:681
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:685
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:689
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_def.h:693
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:695
uint64_t server_id
服务器ID
Definition: nim_qchat_channel_def.h:687
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:691
nim_qchat_channel_get_white_black_members_page_cb_func cb
查询白/黑名单成员列表回调
Definition: nim_qchat_channel_def.h:683
Definition: nim_qchat_channel_def.h:244
NIMQChatMemberInfo * members
成员列表
Definition: nim_qchat_channel_def.h:252
size_t member_count
成员数量
Definition: nim_qchat_channel_def.h:254
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_channel_def.h:250
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:246
Definition: nim_qchat_channel_def.h:663
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:677
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_def.h:675
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:667
nim_qchat_channel_get_white_black_roles_page_cb_func cb
查询白/黑名单身份组列表回调
Definition: nim_qchat_channel_def.h:665
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:673
uint64_t server_id
服务器ID
Definition: nim_qchat_channel_def.h:669
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:671
Definition: nim_qchat_channel_def.h:230
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:232
size_t role_count
身份组数量
Definition: nim_qchat_channel_def.h:240
NIMQChatRoleInfo * roles
身份组列表
Definition: nim_qchat_channel_def.h:238
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_channel_def.h:236
Definition: nim_qchat_public_def.h:130
Definition: nim_qchat_channel_def.h:58
uint64_t category_id
频道分组ID
Definition: nim_qchat_channel_def.h:82
char * topic
主题
Definition: nim_qchat_channel_def.h:66
uint64_t create_time
创建时间
Definition: nim_qchat_channel_def.h:78
uint64_t reorder_weight
自定义排序权重值
Definition: nim_qchat_channel_def.h:86
NIMQChatChannelViewMode view_mode
查看模式,只有在category_id为0或sync_mode为kNIMQChatChannelSyncModeNoSync时有效
Definition: nim_qchat_channel_def.h:74
bool valid_flag
有效标记,false:无效 true:有效
Definition: nim_qchat_channel_def.h:76
char * name
名称
Definition: nim_qchat_channel_def.h:64
char * owner
拥有者
Definition: nim_qchat_channel_def.h:72
char * custom
自定义字段
Definition: nim_qchat_channel_def.h:68
uint64_t channel_id
channel id
Definition: nim_qchat_channel_def.h:62
NIMQChatChannelSyncMode sync_mode
频道分组同步模式
Definition: nim_qchat_channel_def.h:84
uint64_t server_id
server id
Definition: nim_qchat_channel_def.h:60
uint64_t update_time
更新时间
Definition: nim_qchat_channel_def.h:80
NIMQChatChannelType type
频道类型
Definition: nim_qchat_channel_def.h:70
Definition: nim_qchat_channel_def.h:759
uint64_t channel_id
频道 id
Definition: nim_qchat_channel_def.h:767
uint64_t server_id
服务器 id
Definition: nim_qchat_channel_def.h:765
nim_qchat_channel_member_search_cb_func cb
搜索异步回调
Definition: nim_qchat_channel_def.h:761
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:763
char * keyword
搜索内容
Definition: nim_qchat_channel_def.h:769
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:771
Definition: nim_qchat_channel_def.h:285
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_channel_def.h:287
NIMQChatMemberInfo * member_list
成员信息列表
Definition: nim_qchat_channel_def.h:293
size_t member_list_count
成员信息列表数量
Definition: nim_qchat_channel_def.h:291
Definition: nim_qchat_channel_def.h:598
NIMQChatChannelIDInfo * id_infos
ID 列表
Definition: nim_qchat_channel_def.h:606
size_t id_infos_count
ID 列表长度
Definition: nim_qchat_channel_def.h:604
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:602
nim_qchat_channel_query_unread_info_cb_func cb
查询未读消息数异步回调
Definition: nim_qchat_channel_def.h:600
Definition: nim_qchat_channel_def.h:188
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:192
Definition: nim_qchat_channel_def.h:90
char * scenario
音频应用场景
Definition: nim_qchat_channel_def.h:94
char * profile
音频属性
Definition: nim_qchat_channel_def.h:92
Definition: nim_qchat_channel_def.h:108
NIMQChatChannelRTCAudioInfo audio
音频配置
Definition: nim_qchat_channel_def.h:112
NIMQChatChannelRTCVideoInfo video
视频配置
Definition: nim_qchat_channel_def.h:114
uint32_t limit
在线人数限制
Definition: nim_qchat_channel_def.h:110
Definition: nim_qchat_channel_def.h:98
uint32_t fps
帧率
Definition: nim_qchat_channel_def.h:104
uint32_t width
分辨率宽
Definition: nim_qchat_channel_def.h:100
uint32_t height
分辨率高
Definition: nim_qchat_channel_def.h:102
Definition: nim_qchat_channel_def.h:494
Definition: nim_qchat_channel_def.h:735
char * cursor
查询游标, 查询的起始位置
Definition: nim_qchat_channel_def.h:755
nim_qchat_channel_search_page_cb_func cb
搜索异步回调
Definition: nim_qchat_channel_def.h:737
char * keyword
搜索内容
Definition: nim_qchat_channel_def.h:743
NIMQChatChannelSearchSort sort
排序规则
Definition: nim_qchat_channel_def.h:751
uint32_t limit
查询条数
Definition: nim_qchat_channel_def.h:753
uint64_t start_time
起始时间
Definition: nim_qchat_channel_def.h:745
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:739
NIMQChatSearchOrder order
排序顺序
Definition: nim_qchat_channel_def.h:749
uint64_t server_id
服务器 id, 若为空则表示在所有服务器下可见频道中搜索
Definition: nim_qchat_channel_def.h:741
uint64_t end_time
结束时间
Definition: nim_qchat_channel_def.h:747
Definition: nim_qchat_channel_def.h:610
nim_qchat_channel_subscribe_cb_func cb
订阅频道信息回调函数
Definition: nim_qchat_channel_def.h:612
NIMQChatSubscribeOpeType ope_type
操作类型
Definition: nim_qchat_channel_def.h:615
size_t id_infos_count
ID 列表长度
Definition: nim_qchat_channel_def.h:619
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_channel_def.h:617
NIMQChatChannelIDInfo * id_infos
ID 列表
Definition: nim_qchat_channel_def.h:621
Definition: nim_qchat_channel_def.h:198
NIMQChatChannelIDInfo * failed_channels
订阅失败列表
Definition: nim_qchat_channel_def.h:204
NIMQChatUnreadInfo * unread_infos
频道未读信息, 内部使用,未读相关变更关注RegUnreadCb回调
Definition: nim_qchat_channel_def.h:208
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:200
size_t unread_infos_count
频道未读信息数量
Definition: nim_qchat_channel_def.h:210
size_t failed_channels_count
订阅失败列表数量
Definition: nim_qchat_channel_def.h:206
Definition: nim_qchat_channel_def.h:214
size_t unread_infos_count
未读数信息数量
Definition: nim_qchat_channel_def.h:218
NIMQChatUnreadInfo * unread_infos
未读数信息
Definition: nim_qchat_channel_def.h:220
Definition: nim_qchat_channel_def.h:542
NIMQChatChannelSyncMode sync_mode
频道分组同步模式
Definition: nim_qchat_channel_def.h:552
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:546
uint64_t channel_id
频道 ID
Definition: nim_qchat_channel_def.h:548
uint64_t category_id
频道分组ID
Definition: nim_qchat_channel_def.h:550
nim_qchat_channel_update_category_info_cb_func cb
更新频道的分组信息异步回调
Definition: nim_qchat_channel_def.h:544
Definition: nim_qchat_channel_def.h:522
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_channel_def.h:538
char * custom
自定义扩展
Definition: nim_qchat_channel_def.h:534
nim_qchat_channel_update_cb_func cb
更新频道信息异步回调
Definition: nim_qchat_channel_def.h:524
char * name
频道名称
Definition: nim_qchat_channel_def.h:530
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:526
char * topic
主题
Definition: nim_qchat_channel_def.h:532
uint64_t channel_id
频道 ID
Definition: nim_qchat_channel_def.h:528
NIMQChatChannelViewMode view_mode
查看权限
Definition: nim_qchat_channel_def.h:536
Definition: nim_qchat_channel_def.h:969
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:977
nim_qchat_channel_update_rtc_info_cb_func cb
更新频道RTC信息回调
Definition: nim_qchat_channel_def.h:971
NIMQChatChannelRTCInfo rtc_info
RTC信息
Definition: nim_qchat_channel_def.h:979
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:973
uint64_t server_id
服务器 ID
Definition: nim_qchat_channel_def.h:975
Definition: nim_qchat_channel_def.h:643
char ** accids
被踢人id列表
Definition: nim_qchat_channel_def.h:653
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:651
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:647
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_channel_def.h:659
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:657
uint64_t server_id
服务器ID
Definition: nim_qchat_channel_def.h:649
size_t accids_count
被踢人id列表长度
Definition: nim_qchat_channel_def.h:655
nim_qchat_channel_update_white_black_members_cb_func cb
更新白/黑名单成员回调
Definition: nim_qchat_channel_def.h:645
Definition: nim_qchat_channel_def.h:625
uint64_t role_id
身份组id
Definition: nim_qchat_channel_def.h:635
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:629
nim_qchat_channel_update_white_black_role_cb_func cb
更新白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:627
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_channel_def.h:637
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_channel_def.h:639
uint64_t server_id
服务器ID
Definition: nim_qchat_channel_def.h:631
uint64_t channel_id
频道ID
Definition: nim_qchat_channel_def.h:633
Definition: nim_qchat_member_def.h:21
Definition: nim_qchat_role_def.h:140
Definition: nim_qchat_public_def.h:330
Definition: nim_qchat_public_cpp_def.h:40
Definition: nim_qchat_public_cpp_def.h:53
Definition: nim_qchat_channel_cpp_def.h:1586
Definition: nim_qchat_channel_cpp_def.h:535
Definition: nim_qchat_channel_cpp_def.h:2015
std::list< std::string > accids
成员ID列表
Definition: nim_qchat_channel_cpp_def.h:2025
Definition: nim_qchat_channel_cpp_def.h:738
Definition: nim_qchat_channel_cpp_def.h:1880
std::vector< uint64_t > role_ids
身份组ID列表
Definition: nim_qchat_channel_cpp_def.h:1890
Definition: nim_qchat_channel_cpp_def.h:669
Definition: nim_qchat_channel_cpp_def.h:1972
Definition: nim_qchat_channel_cpp_def.h:703
Definition: nim_qchat_channel_cpp_def.h:1837
Definition: nim_qchat_channel_cpp_def.h:634
Definition: nim_qchat_channel_cpp_def.h:156
Definition: nim_qchat_channel_cpp_def.h:1625
Definition: nim_qchat_channel_cpp_def.h:1652
Definition: nim_qchat_channel_cpp_def.h:1921
std::list< std::string > accids
成员ID列表
Definition: nim_qchat_channel_cpp_def.h:1929
Definition: nim_qchat_channel_cpp_def.h:1794
Definition: nim_qchat_channel_cpp_def.h:974
Definition: nim_qchat_channel_cpp_def.h:258
Definition: nim_qchat_channel_cpp_def.h:1005
Definition: nim_qchat_channel_cpp_def.h:1691
std::vector< uint64_t > category_ids
分组ID列表
Definition: nim_qchat_channel_cpp_def.h:1695
Definition: nim_qchat_channel_cpp_def.h:562
Definition: nim_qchat_channel_cpp_def.h:1720
Definition: nim_qchat_channel_cpp_def.h:593
Definition: nim_qchat_channel_cpp_def.h:1755
Definition: nim_qchat_channel_cpp_def.h:1144
Definition: nim_qchat_channel_cpp_def.h:321
Definition: nim_qchat_channel_cpp_def.h:1114
Definition: nim_qchat_channel_cpp_def.h:290
Definition: nim_qchat_channel_cpp_def.h:1445
std::list< std::string > accids
用户accid列表
Definition: nim_qchat_channel_cpp_def.h:1455
Definition: nim_qchat_channel_cpp_def.h:472
Definition: nim_qchat_channel_cpp_def.h:1398
std::list< uint64_t > role_ids
身份组id列表
Definition: nim_qchat_channel_cpp_def.h:1408
Definition: nim_qchat_channel_cpp_def.h:441
Definition: nim_qchat_channel_cpp_def.h:1179
Definition: nim_qchat_channel_cpp_def.h:2097
Definition: nim_qchat_channel_cpp_def.h:772
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_cpp_def.h:774
QChatChannelRTCInfo rtc_info
RTC信息
Definition: nim_qchat_channel_cpp_def.h:776
Definition: nim_qchat_channel_cpp_def.h:2128
Definition: nim_qchat_channel_cpp_def.h:793
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_cpp_def.h:795
std::vector< QChatMemberInfo > members
成员列表
Definition: nim_qchat_channel_cpp_def.h:797
Definition: nim_qchat_channel_cpp_def.h:1355
uint32_t limit
查询条数
Definition: nim_qchat_channel_cpp_def.h:1367
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_cpp_def.h:1365
Definition: nim_qchat_channel_cpp_def.h:406
Definition: nim_qchat_channel_cpp_def.h:1312
uint32_t limit
查询条数
Definition: nim_qchat_channel_cpp_def.h:1324
uint64_t timestamp
时间戳
Definition: nim_qchat_channel_cpp_def.h:1322
Definition: nim_qchat_channel_cpp_def.h:371
Definition: nim_qchat_channel_cpp_def.h:24
Definition: nim_qchat_channel_cpp_def.h:1547
Definition: nim_qchat_channel_cpp_def.h:504
Definition: nim_qchat_channel_cpp_def.h:944
Definition: nim_qchat_channel_cpp_def.h:232
std::vector< NIMQChatUnreadInfo > unread_infos
未读信息列表
Definition: nim_qchat_channel_cpp_def.h:236
Definition: nim_qchat_channel_cpp_def.h:91
std::string scenario
音频应用场景 ["DEFAULT","SPEECH","MUSIC", "CHATROOM"]
Definition: nim_qchat_channel_cpp_def.h:95
std::string profile
音频属性 ["HIGH_QUALITY_STEREO","HIGH_QUALITY","STANDARD_EXTEND"]
Definition: nim_qchat_channel_cpp_def.h:93
Definition: nim_qchat_channel_cpp_def.h:133
Definition: nim_qchat_channel_cpp_def.h:110
Definition: nim_qchat_channel_cpp_def.h:891
Definition: nim_qchat_channel_cpp_def.h:1492
Definition: nim_qchat_channel_cpp_def.h:906
Definition: nim_qchat_channel_cpp_def.h:203
Definition: nim_qchat_channel_cpp_def.h:356
std::vector< NIMQChatUnreadInfo > unread_infos
未读数信息
Definition: nim_qchat_channel_cpp_def.h:358
Definition: nim_qchat_channel_cpp_def.h:1079
Definition: nim_qchat_channel_cpp_def.h:1032
std::string topic
主题
Definition: nim_qchat_channel_cpp_def.h:1040
std::string custom
自定义字段
Definition: nim_qchat_channel_cpp_def.h:1042
std::string name
名称
Definition: nim_qchat_channel_cpp_def.h:1038
Definition: nim_qchat_channel_cpp_def.h:2062
Definition: nim_qchat_channel_cpp_def.h:1261
std::list< std::string > accids
用户accid列表
Definition: nim_qchat_channel_cpp_def.h:1269
Definition: nim_qchat_channel_cpp_def.h:1218
Definition: nim_qchat_public_cpp_def.h:72
Definition: nim_qchat_server_cpp_def.h:536