NIM PC Cross Platform SDK
nim_qchat_channel_def.h
Go to the documentation of this file.
1
11#ifndef __NIM_QCHAT_CHANNEL_DEF_H__
12#define __NIM_QCHAT_CHANNEL_DEF_H__
13
16#include "nim_qchat_role_def.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
31};
32
34enum NIMQChatChannelMemberIdentifyType {
35 kNIMQChatWhite = 1,
36 kNIMQChatBlack = 2,
37};
38
40enum NIMQChatChannelMemberIdentifyOpeType {
41 kNIMQChatChannelMemberIdentifyOpeTypeAdd = 1,
42 kNIMQChatChannelMemberIdentifyOpeTypeRemove = 2,
43};
44
46enum NIMQChatChannelWhiteBlackType {
47 kNIMQChatChannelWhite = 1,
48 kNIMQChatChannelBlack = 2,
49};
50
52enum NIMQChatChannelWhiteBlackOpeType {
53 kNIMQChatChannelWhiteBlackOpeTypeAdd = 1,
54 kNIMQChatChannelWhiteBlackOpeTypeRemove = 2,
55};
56
60 uint64_t server_id;
62 uint64_t channel_id;
64 char* name;
66 char* topic;
68 char* custom;
72 char* owner;
78 uint64_t create_time;
80 uint64_t update_time;
82 uint64_t category_id;
87};
88
92 char* profile;
94 char* scenario;
95};
96
100 uint32_t width;
102 uint32_t height;
104 uint32_t fps;
105};
106
110 uint32_t limit;
115};
116
120 uint64_t server_id;
122 uint64_t category_id;
124 char* name;
126 char* custom;
128 char* owner;
134 uint64_t create_time;
136 uint64_t update_time;
137};
138
142 uint32_t res_code;
147};
148
151
154
157
161 uint32_t res_code;
168};
169
173 uint32_t res_code;
182};
183
186
189 NIMQChatUnreadInfo* unread_infos;
190 size_t unread_info_count;
192 uint32_t res_code;
195};
196
200 uint32_t res_code;
211};
212
221};
222
225
228
232 uint32_t res_code;
241};
242
246 uint32_t res_code;
255};
256
260 uint32_t res_code;
267};
268
272 uint32_t res_code;
279};
280
283
287 uint32_t res_code;
294};
295
299 uint32_t res_code;
304};
305
308
311
315 uint32_t res_code;
322};
323
327 uint32_t res_code;
336};
337
340
343
347 uint32_t res_code;
356};
357
361 uint32_t res_code;
368};
369
372
376 uint32_t res_code;
385};
386
390 uint32_t res_code;
397};
398
401
405 uint32_t res_code;
410};
411
415 uint32_t res_code;
422};
423
424/* ------------------------------- 接口回调模板 -------------------------------- */
491
492/* ------------------------------- 接口调用参数 ------------------------------ */
496 void* user_data;
497};
498
509};
510
518 uint64_t channel_id;
519};
520
528 uint64_t channel_id;
530 char* name;
532 char* topic;
534 char* custom;
539};
540
548 uint64_t channel_id;
550 uint64_t category_id;
553};
554
564 uint64_t* channel_ids;
565};
566
574 uint64_t server_id;
576 uint64_t timestamp;
578 uint32_t limit;
579};
580
588 uint64_t server_id;
590 uint64_t channel_id;
592 uint64_t timestamp;
594 uint32_t limit;
595};
596
607};
608
613 void* user_data;
622};
623
631 uint64_t server_id;
633 uint64_t channel_id;
635 uint64_t role_id;
637 NIMQChatChannelWhiteBlackType type;
639 NIMQChatChannelWhiteBlackOpeType ope_type;
640};
641
649 uint64_t server_id;
651 uint64_t channel_id;
653 char** accids;
657 NIMQChatChannelWhiteBlackType type;
659 NIMQChatChannelWhiteBlackOpeType ope_type;
660};
661
669 uint64_t server_id;
671 uint64_t channel_id;
673 NIMQChatChannelWhiteBlackType type;
675 uint64_t timestamp;
677 uint32_t limit;
678};
679
687 uint64_t server_id;
689 uint64_t channel_id;
691 NIMQChatChannelWhiteBlackType type;
693 uint64_t timestamp;
695 uint32_t limit;
696};
697
705 uint64_t server_id;
707 uint64_t channel_id;
709 NIMQChatChannelWhiteBlackType type;
711 uint64_t* role_ids;
714};
715
723 uint64_t server_id;
725 uint64_t channel_id;
727 NIMQChatChannelWhiteBlackType type;
729 char** accids;
732};
733
741 uint64_t server_id;
743 char* keyword;
745 uint64_t start_time;
747 uint64_t end_time;
753 uint32_t limit;
755 char* cursor;
756};
757
765 uint64_t server_id;
767 uint64_t channel_id;
769 char* keyword;
771 uint32_t limit;
772};
773
781 uint64_t server_id;
783 char* name;
785 char* custom;
788};
789
797 uint64_t category_id;
798};
799
807 uint64_t category_id;
809 char* name;
811 char* custom;
814};
815
823 uint64_t* category_ids;
826};
827
835 uint64_t server_id;
837 uint64_t timestamp;
839 uint32_t limit;
840};
841
849 uint64_t server_id;
851 uint64_t category_id;
853 uint64_t timestamp;
855 uint32_t limit;
856};
857
865 uint64_t server_id;
867 uint64_t category_id;
869 uint64_t role_id;
871 NIMQChatChannelWhiteBlackType type;
873 NIMQChatChannelWhiteBlackOpeType ope_type;
874};
875
883 uint64_t server_id;
885 uint64_t category_id;
887 NIMQChatChannelWhiteBlackType type;
889 uint64_t timestamp;
891 uint32_t limit;
892};
893
901 uint64_t server_id;
903 uint64_t category_id;
905 NIMQChatChannelWhiteBlackType type;
907 uint64_t* role_ids;
910};
911
919 uint64_t server_id;
921 uint64_t category_id;
923 char** accids;
927 NIMQChatChannelWhiteBlackType type;
929 NIMQChatChannelWhiteBlackOpeType ope_type;
930};
931
939 uint64_t server_id;
941 uint64_t category_id;
943 NIMQChatChannelWhiteBlackType type;
945 uint64_t timestamp;
947 uint32_t limit;
948};
949
957 uint64_t server_id;
959 uint64_t category_id;
961 NIMQChatChannelWhiteBlackType type;
963 char** accids;
966};
967
975 uint64_t server_id;
977 uint64_t channel_id;
980};
981
989 uint64_t server_id;
991 uint64_t channel_id;
992};
993
1001 uint64_t server_id;
1003 uint64_t channel_id;
1004};
1005
1006#ifdef __cplusplus
1007}
1008#endif
1009
1010#endif // __NIM_QCHAT_CHANNEL_DEF_H__
void(* nim_qchat_channel_member_search_cb_func)(const NIMQChatChannelMemberSearchResp &resp)
搜索频道成员回调
Definition: nim_qchat_channel_def.h:460
void(* nim_qchat_channel_get_category_white_black_members_page_cb_func)(const NIMQChatChannelCategoryGetWhiteBlackMembersPageResp &resp)
分页查询频道分组白/黑名单成员回调
Definition: nim_qchat_channel_def.h:480
void(* nim_qchat_channel_update_cb_func)(const NIMQChatChannelUpdateResp &resp)
更新频道回调
Definition: nim_qchat_channel_def.h:432
NIMQChatChannelType
圈组频道类型
Definition: nim_qchat_channel_def.h:24
@ kNIMQChatChannelTypeText
普通文本频道
Definition: nim_qchat_channel_def.h:26
@ kNIMQChatChannelTypeRTC
RTC频道
Definition: nim_qchat_channel_def.h:28
@ kNIMQChatChannelTypeCustom
自定义频道类型
Definition: nim_qchat_channel_def.h:30
void(* nim_qchat_channel_get_categories_cb_func)(const NIMQChatChannelGetCategoriesByIDResp &resp)
根据ID查询频道分组列表回调
Definition: nim_qchat_channel_def.h:468
void(* nim_qchat_channel_get_channels_page_cb_func)(const NIMQChatChannelGetChannelsPageResp &resp)
分页查询频道列表回调
Definition: nim_qchat_channel_def.h:438
void(* nim_qchat_channel_remove_cb_func)(const NIMQChatChannelDeleteResp &resp)
删除频道回调
Definition: nim_qchat_channel_def.h:430
void(* nim_qchat_channel_update_category_cb_func)(const NIMQChatChannelCategoryUpdateResp &resp)
更新频道分组回调
Definition: nim_qchat_channel_def.h:466
void(* nim_qchat_channel_update_rtc_info_cb_func)(const NIMQChatChannelUpdateRTCInfoResp &resp)
修改RTC频道参数回调
Definition: nim_qchat_channel_def.h:486
void(* nim_qchat_channel_get_existing_white_black_roles_cb_func)(const NIMQChatChannelGetExistingWhiteBlackRolesResp &resp)
查询已存在白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:454
void(* nim_qchat_channel_get_members_page_cb_func)(const NIMQChatChannelGetMembersPageResp &resp)
分页查询成员列表回调
Definition: nim_qchat_channel_def.h:440
void(* nim_qchat_channel_remove_category_cb_func)(const NIMQChatChannelCategoryRemoveResp &resp)
删除频道分组回调
Definition: nim_qchat_channel_def.h:464
void(* nim_qchat_channel_get_white_black_members_page_cb_func)(const NIMQChatChannelGetWhiteBlackMembersPageResp &resp)
分页查询白/黑名单成员回调
Definition: nim_qchat_channel_def.h:452
void(* nim_qchat_channel_get_category_channels_page_cb_func)(const NIMQChatChannelGetCategoryChannelsPageResp &resp)
分页查询频道分组中的频道
Definition: nim_qchat_channel_def.h:472
void(* nim_qchat_channel_get_category_white_black_members_cb_func)(const NIMQChatChannelCategoryGetWhiteBlackMembersResp &resp)
批量查询频道分组白/黑名单成员回调
Definition: nim_qchat_channel_def.h:484
void(* nim_qchat_channel_get_category_white_black_roles_page_cb_func)(const NIMQChatChannelCategoryGetWhiteBlackRolesPageResp &resp)
分页查询频道分组白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:476
void(* nim_qchat_channel_update_category_white_black_members_cb_func)(const NIMQChatChannelCategoryUpdateWhiteBlackMembersResp &resp)
更新频道分组白/黑名单成员回调
Definition: nim_qchat_channel_def.h:478
void(* nim_qchat_channel_update_category_info_cb_func)(const NIMQChatChannelUpdateCategoryInfoResp &resp)
更新频道的分组信息回调
Definition: nim_qchat_channel_def.h:434
void(* nim_qchat_channel_create_category_cb_func)(const NIMQChatChannelCategoryCreateResp &resp)
创建频道分组回调
Definition: nim_qchat_channel_def.h:462
void(* nim_qchat_channel_get_channels_cb_func)(const NIMQChatChannelGetChannelsResp &resp)
查询频道列表回调
Definition: nim_qchat_channel_def.h:436
void(* nim_qchat_channel_query_unread_info_cb_func)(const NIMQChatChannelQueryUnreadInfoResp &resp)
查询未读消息数回调
Definition: nim_qchat_channel_def.h:442
void(* nim_qchat_channel_create_cb_func)(const NIMQChatChannelCreateResp &resp)
创建频道回调
Definition: nim_qchat_channel_def.h:428
void(* nim_qchat_channel_update_white_black_members_cb_func)(const NIMQChatChannelUpdateWhiteBlackMembersResp &resp)
更新白/黑名单成员回调
Definition: nim_qchat_channel_def.h:448
void(* nim_qchat_channel_subscribe_cb_func)(const NIMQChatChannelSubscribeResp &resp)
订阅回调
Definition: nim_qchat_channel_def.h:444
void(* nim_qchat_channel_get_rtc_online_members_cb_func)(const NIMQChatChannelGetRTCOnlineMembersResp &resp)
查询RTC频道在线成员回调
Definition: nim_qchat_channel_def.h:490
void(* nim_qchat_channel_get_existing_white_black_members_cb_func)(const NIMQChatChannelGetExistingWhiteBlackMembersResp &resp)
查询已存在白/黑名单成员回调
Definition: nim_qchat_channel_def.h:456
void(* nim_qchat_channel_get_rtc_info_cb_func)(const NIMQChatChannelGetRTCInfoResp &resp)
查询RTC频道参数回调
Definition: nim_qchat_channel_def.h:488
void(* nim_qchat_channel_get_category_white_black_roles_cb_func)(const NIMQChatChannelCategoryGetExistingWhiteBlackRolesResp &resp)
批量查询频道分组白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:482
void(* nim_qchat_channel_get_white_black_roles_page_cb_func)(const NIMQChatChannelGetWhiteBlackRolesPageResp &resp)
分页查询白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:450
nim_qchat_channel_get_channels_page_cb_func nim_qchat_channel_search_page_cb_func
搜索频道分页回调
Definition: nim_qchat_channel_def.h:458
void(* nim_qchat_channel_unread_cb_func)(const NIMQChatChannelUnreadResp &resp)
未读数回调
Definition: nim_qchat_channel_def.h:426
void(* nim_qchat_channel_update_white_black_role_cb_func)(const NIMQChatChannelUpdateWhiteBlackRoleResp &resp)
更新白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:446
void(* nim_qchat_channel_update_category_white_black_role_cb_func)(const NIMQChatChannelCategoryUpdateWhiteBlackRoleResp &resp)
更新频道分组白/黑名单身份组回调
Definition: nim_qchat_channel_def.h:474
void(* nim_qchat_channel_get_categories_page_cb_func)(const NIMQChatChannelGetCategoriesPageResp &resp)
分页查询频道分组列表回调
Definition: nim_qchat_channel_def.h:470
NIMQChatChannelViewMode
Definition: nim_qchat_public_def.h:21
NIMQChatChannelSyncMode
Definition: nim_qchat_public_def.h:29
NIMQChatSubscribeType
Definition: nim_qchat_public_def.h:45
NIMQChatSearchOrder
搜索排序顺序
Definition: nim_qchat_public_def.h:82
NIMQChatChannelSearchSort
频道搜索排序规则
Definition: nim_qchat_public_def.h:100
NIMQChatSubscribeOpeType
Definition: nim_qchat_public_def.h:37
圈组身份组相关数据结构声明
Definition: nim_qchat_public_def.h:114
Definition: nim_qchat_public_def.h:122
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:301
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:363
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:378
Definition: nim_qchat_channel_def.h:388
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_channel_def.h:390
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:392
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:349
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:144
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:317
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:329
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:175
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:163
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:274
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:262
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:407
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:417
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:248
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:234
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:289
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:194
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:202
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
void * user_data
自定义用户数据
Definition: nim_qchat_channel_def.h:216
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_public_def.h:177
Definition: nim_qchat_role_def.h:140
Definition: nim_qchat_server_def.h:322
Definition: nim_qchat_public_def.h:330