NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim_qchat_role_def.h
浏览该文件的文档.
1
11#ifndef __NIM_QCHAT_ROLE_DEF_H__
12#define __NIM_QCHAT_ROLE_DEF_H__
13
16
73};
74
83};
84
88 uint32_t permission;
91};
92
102
108 uint64_t role_id;
109};
110
114 uint32_t member_count;
116 uint64_t priority;
117};
118
122 uint64_t channel_id;
125};
126
130 uint64_t category_id;
135};
136
140 uint64_t server_id;
142 uint64_t role_id;
156 uint64_t create_time;
158 uint64_t update_time;
159 union {
166 };
167};
168
172 uint64_t channel_id;
174 uint64_t role_id;
182 uint64_t create_time;
184 uint64_t update_time;
185};
186
190 uint64_t category_id;
192 uint64_t role_id;
200 uint64_t create_time;
202 uint64_t update_time;
203};
204
207 uint32_t res_code;
210};
211
214 uint32_t res_code;
217};
218
221
224 uint32_t res_code;
230};
231
234
237 uint32_t res_code;
243};
244
247
250 uint32_t res_code;
254};
255
258 uint32_t res_code;
261};
262
265
268
271
274
277
280 uint32_t res_code;
284};
285
288
291 uint32_t res_code;
294};
295
298 uint32_t res_code;
301};
302
305
308
311
314
317 uint32_t res_code;
321};
322
325 uint32_t res_code;
329};
330
333
339};
340
343 uint32_t res_code;
346 size_t count;
347};
348
351
354
357 uint32_t res_code;
361};
362
365 uint32_t res_code;
368};
369
372 uint32_t res_code;
377 uint32_t* permissions;
380};
381
384
447
456};
457
466};
467
470 uint64_t role_id;
471 uint64_t priority;
472};
473
478 uint64_t server_id;
482};
483
489 uint64_t server_id;
491 uint64_t role_id;
492};
493
499 uint64_t server_id;
501 uint32_t limit;
503 uint64_t priority;
505 uint64_t channel_id;
508};
509
515 uint64_t server_id;
517 uint64_t role_id;
519 char** members;
522};
523
526
532 uint64_t server_id;
534 uint64_t role_id;
536 uint64_t timestamp;
538 uint32_t limit;
541};
542
547 uint64_t server_id;
549 uint64_t channel_id;
550};
551
556 uint64_t server_id;
557 uint64_t role_id;
558 uint64_t channel_id;
561};
562
568 uint64_t server_id;
570 uint64_t channel_id;
572 uint64_t role_id;
573};
574
580 uint64_t server_id;
582 uint64_t channel_id;
584 uint64_t timestamp;
586 uint32_t limit;
587};
588
593 uint64_t server_id;
594 uint64_t channel_id;
595 char* accid;
596};
597
602 uint64_t server_id;
603 uint64_t channel_id;
604 char* accid;
607};
608
614 uint64_t server_id;
616 uint64_t channel_id;
618 char* accid;
619};
620
626 uint64_t server_id;
628 uint64_t channel_id;
630 uint64_t timestamp;
632 uint32_t limit;
633};
634
639 uint64_t server_id;
640 char* accid;
641 uint64_t timestamp;
642 uint32_t limit;
643};
644
649 uint64_t server_id;
652};
653
658 uint64_t server_id;
659 uint64_t channel_id;
660 uint64_t* role_ids;
662};
663
668 uint64_t server_id;
669 uint64_t channel_id;
672};
673
678 uint64_t server_id;
679 uint64_t role_id;
680 char** accids;
682};
683
689 uint64_t server_id;
691 uint64_t channel_id;
693 uint32_t permission;
694};
695
701 uint64_t server_id;
703 uint64_t channel_id;
707 uint32_t* permissions;
708};
709
715 uint64_t server_id;
717 uint64_t category_id;
720};
721
727 uint64_t server_id;
729 uint64_t category_id;
731 uint64_t role_id;
736};
737
743 uint64_t server_id;
745 uint64_t category_id;
747 uint64_t role_id;
748};
749
755 uint64_t server_id;
757 uint64_t category_id;
759 uint64_t timestamp;
761 uint32_t limit;
762};
763
769 uint64_t server_id;
771 uint64_t category_id;
773 char* accid;
774};
775
781 uint64_t server_id;
783 uint64_t category_id;
785 char* accid;
790};
791
797 uint64_t server_id;
799 uint64_t category_id;
801 char* accid;
802};
803
809 uint64_t server_id;
811 uint64_t category_id;
813 uint64_t timestamp;
815 uint32_t limit;
816};
817
818#endif // __NIM_QCHAT_ROLE_DEF_H__
NIMQChatGetChannelRolesResp NIMQChatGetChannelCategoryRolesPageResp
Definition: nim_qchat_role_def.h:287
NIMQChatPermissions
Definition: nim_qchat_role_def.h:18
@ kPermissionDeleteMemberMessage
删除他人消息,Server/Channel
Definition: nim_qchat_role_def.h:38
@ kPermissionRTCConnect
RTC频道: 连接的权限,Server/Channel
Definition: nim_qchat_role_def.h:48
@ kPermissionGetServerInviteApplyRecords
申请邀请历史查看权限,有这个权限才可以查询server级别的申请/邀请记录,Server
Definition: nim_qchat_role_def.h:70
@ kPermissionManageServer
管理服务器,Server
Definition: nim_qchat_role_def.h:20
@ kPermissionManageChannel
管理频道,Server/Channel
Definition: nim_qchat_role_def.h:22
@ kPermissionServerHandleApply
服务器申请处理权限,Server
Definition: nim_qchat_role_def.h:68
@ kPermissionManageBlackWhiteList
管理白/黑名单,Server/Channel
Definition: nim_qchat_role_def.h:44
@ kPermissionAtMember
@ 他人,Server/Channel
Definition: nim_qchat_role_def.h:40
@ kPermissionBanServerMember
封禁他人,Server
Definition: nim_qchat_role_def.h:46
@ kPermissionRTCOpenMuteOthersMic
RTC频道: 禁用/解禁他人麦克风的权限,Server/Channel
Definition: nim_qchat_role_def.h:56
@ kPermissionUpdateMemberInfo
修改他人信息,Server
Definition: nim_qchat_role_def.h:34
@ kPermissionSendMessage
发送消息,Server/Channel
Definition: nim_qchat_role_def.h:26
@ kPermissionRTCOpenMuteAllCamera
RTC频道: 禁用/解禁全员摄像头的权限,Server/Channel
Definition: nim_qchat_role_def.h:62
@ kPermissionManageRole
管理角色,Server/Channel
Definition: nim_qchat_role_def.h:24
@ kPermissionMentionRole
@ 身份组的权限,Server/Channel
Definition: nim_qchat_role_def.h:72
@ kPermissionRTCOpenScreenShare
RTC频道: 打开自己共享屏幕的权限,Server/Channel
Definition: nim_qchat_role_def.h:64
@ kPermissionAtAll
@ 所有人,Server/Channel
Definition: nim_qchat_role_def.h:42
@ kPermissionIviteMember
邀请他人,Server
Definition: nim_qchat_role_def.h:30
@ kPermissionRTCDisconnectOther
RTC频道: 断开他人连接的权限,Server/Channel
Definition: nim_qchat_role_def.h:50
@ kPermissionKickMember
踢除他人,Server
Definition: nim_qchat_role_def.h:32
@ kPermissionRTCOpenMic
RTC频道: 开启自己麦克风的权限,Server/Channel
Definition: nim_qchat_role_def.h:52
@ kPermissionRTCOpenMuteOthersCamera
RTC频道: 禁用/解禁他人摄像头的权限,Server/Channel
Definition: nim_qchat_role_def.h:58
@ kPermissionRTCOpenMuteAllMic
RTC频道: 禁用/解禁全员麦克风的权限,Server/Channel
Definition: nim_qchat_role_def.h:60
@ kPermissionRTCCloseOthersScreenShare
RTC频道: 关闭他人共享屏幕的权限,Server/Channel
Definition: nim_qchat_role_def.h:66
@ kPermissionRTCOpenCamera
RTC频道: 开启自己摄像头的权限,Server/Channel
Definition: nim_qchat_role_def.h:54
@ kPermissionUpdateMyInfo
修改自己信息,Server
Definition: nim_qchat_role_def.h:28
@ kPermissionRevokeMemberMessage
撤回他人信息,Server/Channel
Definition: nim_qchat_role_def.h:36
NIMQChatGetExistingAccidsOfMemberRolesResp NIMQChatGetExistingAccidsInServerRoleResp
Definition: nim_qchat_role_def.h:383
void(* nim_qchat_role_member_get_roles_by_ids_cb_func)(const NIMQChatGetServerRolesByMemberIdsResp *resp)
查询一批查询一批accids的服务器的自定义身份组列表首页
Definition: nim_qchat_role_def.h:420
void(* nim_qhcat_role_get_existing_accids_of_member_roles_cb_func)(const NIMQChatGetExistingAccidsOfMemberRolesResp *resp)
查询一批accids在频道中配置的权限,只会返回存在的
Definition: nim_qchat_role_def.h:424
void(* nim_qchat_role_channel_category_member_role_remove_cb_func)(const NIMQChatRemoveChannelCategoryMemberRoleResp *resp)
删除频道分组个人定制权限回调
Definition: nim_qchat_role_def.h:444
void(* nim_qchat_role_member_add_cb_func)(const NIMQChatAddMemberRoleResp *resp)
创建频道个人定制权限回调
Definition: nim_qchat_role_def.h:410
void(* nim_qchat_role_get_existing_roles_in_channel_cb_func)(const NIMQChatGetExistingRolesInChannelResp *resp)
查询一批服务器身份组在频道中的身份组信息,只会返回存在的
Definition: nim_qchat_role_def.h:422
void(* nim_qchat_role_server_add_member_cb_func)(const NIMQChatAddMembersToServerRoleResp *resp)
服务器身份组添加成员回调
Definition: nim_qchat_role_def.h:396
NIMQChatAddChannelCategoryMemberRoleResp NIMQChatUpdateChannelCategoryMemberRoleResp
Definition: nim_qchat_role_def.h:307
NIMQChatGetServerRolesResp NIMQChatGetServerRolesByMembersIdResp
Definition: nim_qchat_role_def.h:332
void(* nim_qchat_role_member_get_list_cb_func)(const NIMQChatGetMemberRolesResp *resp)
查询频道个人定制权限回调
Definition: nim_qchat_role_def.h:416
void(* nim_qchat_role_channel_category_member_role_add_cb_func)(const NIMQChatAddChannelCategoryMemberRoleResp *resp)
创建频道分组个人定制权限回调
Definition: nim_qchat_role_def.h:440
void(* nim_qchat_role_server_remove_members_cb_func)(const NIMQChatRemoveMembersFromServerRoleResp *resp)
服务器身份组删除成员回调
Definition: nim_qchat_role_def.h:398
void(* nim_qchat_role_server_batch_update_priorities_cb_func)(const NIMQChatUpdateServerRolePrioritiesResp *resp)
批量服务器身份组权限回调
Definition: nim_qchat_role_def.h:390
void(* nim_qchat_role_channel_category_remove_cb_func)(const NIMQChatRemoveChannelCategoryRoleResp *resp)
删除频道分组身份组回调
Definition: nim_qchat_role_def.h:436
void(* nim_qchat_role_channel_category_update_cb_func)(const NIMQChatUpdateChannelCategoryRoleResp *resp)
更新频道分组身份组回调
Definition: nim_qchat_role_def.h:434
NIMQChatRoleType
Definition: nim_qchat_role_def.h:94
@ kRoleTypeUnkonwn
未知
Definition: nim_qchat_role_def.h:96
@ kRoleTypeCustom
自定义身份组
Definition: nim_qchat_role_def.h:100
@ kRoleTypeEveryone
默认 Everyone 身份组
Definition: nim_qchat_role_def.h:98
void(* nim_qchat_role_channel_remove_cb_func)(const NIMQChatRemoveChannelRoleResp *resp)
删除频道身份组回调
Definition: nim_qchat_role_def.h:406
void(* nim_qchat_role_channel_category_add_cb_func)(const NIMQChatAddChannelCategoryRoleResp *resp)
创建频道分组身份组回调
Definition: nim_qchat_role_def.h:432
NIMQChatPermissionsOption
Definition: nim_qchat_role_def.h:76
@ kPermissionSwitchExtend
继承
Definition: nim_qchat_role_def.h:80
@ kPermissionSwitchDeny
拒绝
Definition: nim_qchat_role_def.h:78
@ kPermissionSwitchAllow
允许
Definition: nim_qchat_role_def.h:82
NIMQChatBaseResp NIMQChatRemoveMemberRoleResp
Definition: nim_qchat_role_def.h:310
void(* nim_qchat_role_channel_category_member_role_get_list_page_cb_func)(const NIMQChatGetChannelCategoryMemberRolesPageResp *resp)
查询频道分组个人定制权限回调
Definition: nim_qchat_role_def.h:446
void(* nim_qchat_role_member_update_cb_func)(const NIMQChatUpdateMemberRoleResp *resp)
更新频道个人定制权限回调
Definition: nim_qchat_role_def.h:412
NIMQChatAddMembersToServerRoleParam NIMQChatRemoveMembersFromServerRoleParam
Definition: nim_qchat_role_def.h:525
void(* nim_qchat_role_check_permission_cb_func)(const NIMQChatCheckPermissionResp *resp)
查询自己是否拥有某个权限
Definition: nim_qchat_role_def.h:428
NIMQChatAddChannelRoleResp NIMQChatUpdateChannelCategoryRoleResp
Definition: nim_qchat_role_def.h:270
void(* nim_qchat_role_channel_add_cb_func)(const NIMQChatAddChannelRoleResp *resp)
创建频道身份组回调
Definition: nim_qchat_role_def.h:402
void(* nim_qchat_role_server_update_cb_func)(const NIMQChatUpdateServerRoleResp *resp)
更新服务器身份组回调
Definition: nim_qchat_role_def.h:388
NIMQChatBaseResp NIMQChatRemoveChannelCategoryMemberRoleResp
Definition: nim_qchat_role_def.h:313
void(* nim_qchat_role_server_get_members_cb_func)(const NIMQChatGetMembersFromServerRoleResp *resp)
服务器身份组查询成员回调
Definition: nim_qchat_role_def.h:400
NIMQChatGetServerRolesResp NIMQChatUpdateServerRolePrioritiesResp
Definition: nim_qchat_role_def.h:353
void(* nim_qchat_role_channel_get_list_cb_func)(const NIMQChatGetChannelRolesResp *resp)
查询频道身份组回调
Definition: nim_qchat_role_def.h:408
NIMQChatAddMembersToServerRoleResp NIMQChatRemoveMembersFromServerRoleResp
Definition: nim_qchat_role_def.h:246
void(* nim_qchat_role_channel_update_cb_func)(const NIMQChatUpdateChannelRoleResp *resp)
更新频道身份组回调
Definition: nim_qchat_role_def.h:404
void(* nim_qchat_role_channel_category_member_role_update_cb_func)(const NIMQChatUpdateChannelCategoryMemberRoleResp *resp)
更新频道分组个人定制权限回调
Definition: nim_qchat_role_def.h:442
void(* nim_qchat_role_channel_category_get_list_page_cb_func)(const NIMQChatGetChannelCategoryRolesPageResp *resp)
查询频道分组身份组回调
Definition: nim_qchat_role_def.h:438
void(* nim_qchat_role_check_permissions_cb_func)(const NIMQChatCheckPermissionsResp *resp)
批量查询自己的权限
Definition: nim_qchat_role_def.h:430
NIMQChatBaseResp NIMQChatRemoveChannelCategoryRoleResp
Definition: nim_qchat_role_def.h:276
void(* nim_qchat_role_server_create_cb_func)(const NIMQChatCreateServerRoleResp *resp)
创建服务器身份组回调
Definition: nim_qchat_role_def.h:386
NIMQChatGetChannelRolesResp NIMQChatGetExistingRolesInChannelResp
Definition: nim_qchat_role_def.h:350
void(* nim_qchat_role_server_get_list_cb_func)(const NIMQChatGetServerRolesResp *resp)
查询服务器身份组回调
Definition: nim_qchat_role_def.h:394
char * QChatMemberAccountId
Definition: nim_qchat_role_def.h:233
NIMQChatAddMemberRoleResp NIMQChatUpdateMemberRoleResp
Definition: nim_qchat_role_def.h:304
NIMQChatBaseResp NIMQChatDeleteServerRoleResp
Definition: nim_qchat_role_def.h:220
NIMQChatAddChannelRoleResp NIMQChatUpdateChannelRoleResp
Definition: nim_qchat_role_def.h:264
NIMQChatAddChannelRoleResp NIMQChatAddChannelCategoryRoleResp
Definition: nim_qchat_role_def.h:267
void(* nim_qchat_role_member_roles_cb_func)(const NIMQChatGetServerRolesByMembersIdResp *resp)
根据ACCID查询服务器身份组回调
Definition: nim_qchat_role_def.h:418
void(* nim_qchat_role_get_accids_in_server_role_cb_func)(const NIMQChatGetExistingAccidsInServerRoleResp *resp)
查询一批accids是否在某个服务器身份组,返回在的成员信息
Definition: nim_qchat_role_def.h:426
NIMQChatBaseResp NIMQChatRemoveChannelRoleResp
Definition: nim_qchat_role_def.h:273
void(* nim_qchat_role_member_remove_cb_func)(const NIMQChatRemoveMemberRoleResp *resp)
删除频道个人定制权限回调
Definition: nim_qchat_role_def.h:414
void(* nim_qchat_role_server_delete_cb_func)(const NIMQChatDeleteServerRoleResp *resp)
删除服务器身份组回调
Definition: nim_qchat_role_def.h:392
Definition: nim_qchat_role_def.h:765
nim_qchat_role_channel_category_member_role_add_cb_func cb
Definition: nim_qchat_role_def.h:766
uint64_t category_id
频道分组 ID
Definition: nim_qchat_role_def.h:771
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:769
char * accid
用户 ID
Definition: nim_qchat_role_def.h:773
void * user_data
Definition: nim_qchat_role_def.h:767
Definition: nim_qchat_role_def.h:297
uint32_t res_code
Definition: nim_qchat_role_def.h:298
void * user_data
Definition: nim_qchat_role_def.h:299
NIMQChatChannelCategoryMemberRoleInfo role_info
Definition: nim_qchat_role_def.h:300
Definition: nim_qchat_role_def.h:711
void * user_data
Definition: nim_qchat_role_def.h:713
uint64_t category_id
频道分组 ID
Definition: nim_qchat_role_def.h:717
uint64_t parent_role_id
服务器身份组ID
Definition: nim_qchat_role_def.h:719
nim_qchat_role_channel_category_add_cb_func cb
Definition: nim_qchat_role_def.h:712
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:715
Definition: nim_qchat_role_def.h:544
void * user_data
Definition: nim_qchat_role_def.h:546
uint64_t parent_role_id
Definition: nim_qchat_role_def.h:548
uint64_t server_id
Definition: nim_qchat_role_def.h:547
nim_qchat_role_channel_add_cb_func cb
Definition: nim_qchat_role_def.h:545
uint64_t channel_id
Definition: nim_qchat_role_def.h:549
Definition: nim_qchat_role_def.h:257
uint32_t res_code
Definition: nim_qchat_role_def.h:258
NIMQChatRoleInfo role_info
Definition: nim_qchat_role_def.h:260
void * user_data
Definition: nim_qchat_role_def.h:259
Definition: nim_qchat_role_def.h:590
nim_qchat_role_member_add_cb_func cb
Definition: nim_qchat_role_def.h:591
char * accid
Definition: nim_qchat_role_def.h:595
uint64_t server_id
Definition: nim_qchat_role_def.h:593
void * user_data
Definition: nim_qchat_role_def.h:592
uint64_t channel_id
Definition: nim_qchat_role_def.h:594
Definition: nim_qchat_role_def.h:290
uint32_t res_code
Definition: nim_qchat_role_def.h:291
NIMQChatMemberRoleInfo role_info
Definition: nim_qchat_role_def.h:293
void * user_data
Definition: nim_qchat_role_def.h:292
Definition: nim_qchat_role_def.h:511
size_t member_count
要加入的用户数量
Definition: nim_qchat_role_def.h:521
nim_qchat_role_server_add_member_cb_func cb
Definition: nim_qchat_role_def.h:512
uint64_t role_id
身份组 ID
Definition: nim_qchat_role_def.h:517
void * user_data
Definition: nim_qchat_role_def.h:513
char ** members
用户数据指针首地址
Definition: nim_qchat_role_def.h:519
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:515
Definition: nim_qchat_role_def.h:236
QChatMemberAccountId * succeed_list
Definition: nim_qchat_role_def.h:239
void * user_data
Definition: nim_qchat_role_def.h:238
size_t succeed_count
Definition: nim_qchat_role_def.h:240
size_t failed_count
Definition: nim_qchat_role_def.h:242
QChatMemberAccountId * failed_list
Definition: nim_qchat_role_def.h:241
uint32_t res_code
Definition: nim_qchat_role_def.h:237
Definition: nim_qchat_public_def.h:141
Definition: nim_qchat_role_def.h:469
uint64_t priority
Definition: nim_qchat_role_def.h:471
uint64_t role_id
Definition: nim_qchat_role_def.h:470
Definition: nim_qchat_role_def.h:475
uint64_t server_id
Definition: nim_qchat_role_def.h:478
NIMQChatBatchUpdateServeRolePriorityGroup * update_priority_info
要更新的身份组 ID 及优先级组合
Definition: nim_qchat_role_def.h:480
size_t update_count
Definition: nim_qchat_role_def.h:481
nim_qchat_role_server_batch_update_priorities_cb_func cb
Definition: nim_qchat_role_def.h:476
void * user_data
Definition: nim_qchat_role_def.h:477
Definition: nim_qchat_public_def.h:149
Definition: nim_qchat_role_def.h:188
uint64_t update_time
身份组修改时间
Definition: nim_qchat_role_def.h:202
uint64_t role_id
该定制权限所在的身份组 ID
Definition: nim_qchat_role_def.h:192
uint64_t create_time
身份组创建时间
Definition: nim_qchat_role_def.h:200
size_t permissions_count
身份组权限组合数量
Definition: nim_qchat_role_def.h:198
NIMQChatPermissionGroup * permissions
身份组权限设定
Definition: nim_qchat_role_def.h:196
uint64_t category_id
该定制权限所在的频道分组 ID
Definition: nim_qchat_role_def.h:190
NIMQChatMemberInfo member_info
定制权限的用户信息
Definition: nim_qchat_role_def.h:194
Definition: nim_qchat_role_def.h:128
uint64_t category_id
频道分组 ID
Definition: nim_qchat_role_def.h:130
bool valid_flag
有效标志
Definition: nim_qchat_role_def.h:134
uint64_t parent_role_id
继承的服务器身份组 ID
Definition: nim_qchat_role_def.h:132
Definition: nim_qchat_role_def.h:120
uint64_t channel_id
频道 ID
Definition: nim_qchat_role_def.h:122
uint64_t parent_role_id
继承的服务器身份组 ID
Definition: nim_qchat_role_def.h:124
Definition: nim_qchat_role_def.h:685
uint32_t permission
权限
Definition: nim_qchat_role_def.h:693
void * user_data
Definition: nim_qchat_role_def.h:687
uint64_t channel_id
channel_id == 0 means check permission in server
Definition: nim_qchat_role_def.h:691
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:689
nim_qchat_role_check_permission_cb_func cb
Definition: nim_qchat_role_def.h:686
Definition: nim_qchat_role_def.h:364
uint32_t res_code
Definition: nim_qchat_role_def.h:365
bool has_permission
Definition: nim_qchat_role_def.h:367
void * user_data
Definition: nim_qchat_role_def.h:366
Definition: nim_qchat_role_def.h:697
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:701
uint32_t * permissions
权限列表
Definition: nim_qchat_role_def.h:707
nim_qchat_role_check_permissions_cb_func cb
Definition: nim_qchat_role_def.h:698
size_t permission_count
权限列表长度
Definition: nim_qchat_role_def.h:705
uint64_t channel_id
channel_id == 0 means check permission in server
Definition: nim_qchat_role_def.h:703
void * user_data
Definition: nim_qchat_role_def.h:699
Definition: nim_qchat_role_def.h:371
size_t permissions_count
身份组权限组合数量
Definition: nim_qchat_role_def.h:375
void * user_data
Definition: nim_qchat_role_def.h:373
uint32_t res_code
Definition: nim_qchat_role_def.h:372
NIMQChatPermissionsOption * options
身份组权限开关
Definition: nim_qchat_role_def.h:379
uint32_t * permissions
身份组权限类型
Definition: nim_qchat_role_def.h:377
Definition: nim_qchat_role_def.h:449
nim_qchat_role_server_create_cb_func cb
Definition: nim_qchat_role_def.h:450
NIMQChatRoleInfo role_info
服务器身份组信息结构体
Definition: nim_qchat_role_def.h:453
void * user_data
Definition: nim_qchat_role_def.h:451
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_role_def.h:455
Definition: nim_qchat_role_def.h:206
uint32_t res_code
Definition: nim_qchat_role_def.h:207
NIMQChatRoleInfo role_info
Definition: nim_qchat_role_def.h:209
void * user_data
Definition: nim_qchat_role_def.h:208
Definition: nim_qchat_role_def.h:485
uint64_t role_id
身份组 ID
Definition: nim_qchat_role_def.h:491
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:489
nim_qchat_role_server_delete_cb_func cb
Definition: nim_qchat_role_def.h:486
void * user_data
Definition: nim_qchat_role_def.h:487
Definition: nim_qchat_role_def.h:805
nim_qchat_role_channel_category_member_role_get_list_page_cb_func cb
Definition: nim_qchat_role_def.h:806
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:809
uint64_t timestamp
时间戳,查询最新指定为 0
Definition: nim_qchat_role_def.h:813
uint32_t limit
限制返回数量
Definition: nim_qchat_role_def.h:815
void * user_data
Definition: nim_qchat_role_def.h:807
uint64_t category_id
频道分组 ID
Definition: nim_qchat_role_def.h:811
Definition: nim_qchat_role_def.h:324
NIMQChatChannelCategoryMemberRoleInfo * role_infos
Definition: nim_qchat_role_def.h:327
void * user_data
Definition: nim_qchat_role_def.h:326
size_t member_role_count
Definition: nim_qchat_role_def.h:328
uint32_t res_code
Definition: nim_qchat_role_def.h:325
Definition: nim_qchat_role_def.h:751
uint32_t limit
限制查询返回数量
Definition: nim_qchat_role_def.h:761
void * user_data
Definition: nim_qchat_role_def.h:753
uint64_t category_id
频道分组 ID
Definition: nim_qchat_role_def.h:757
uint64_t timestamp
时间戳,查询最新指定为 0
Definition: nim_qchat_role_def.h:759
nim_qchat_role_channel_category_get_list_page_cb_func cb
Definition: nim_qchat_role_def.h:752
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:755
Definition: nim_qchat_role_def.h:576
void * user_data
Definition: nim_qchat_role_def.h:578
uint64_t channel_id
频道 ID
Definition: nim_qchat_role_def.h:582
uint32_t limit
限制查询返回数量
Definition: nim_qchat_role_def.h:586
nim_qchat_role_channel_get_list_cb_func cb
Definition: nim_qchat_role_def.h:577
uint64_t timestamp
时间戳,查询最新指定为 0
Definition: nim_qchat_role_def.h:584
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:580
Definition: nim_qchat_role_def.h:279
uint32_t res_code
Definition: nim_qchat_role_def.h:280
size_t role_count
Definition: nim_qchat_role_def.h:283
NIMQChatRoleInfo * role_infos
Definition: nim_qchat_role_def.h:282
void * user_data
Definition: nim_qchat_role_def.h:281
Definition: nim_qchat_role_def.h:675
uint64_t role_id
Definition: nim_qchat_role_def.h:679
uint64_t server_id
Definition: nim_qchat_role_def.h:678
size_t account_count
Definition: nim_qchat_role_def.h:681
nim_qchat_role_get_accids_in_server_role_cb_func cb
Definition: nim_qchat_role_def.h:676
char ** accids
Definition: nim_qchat_role_def.h:680
void * user_data
Definition: nim_qchat_role_def.h:677
Definition: nim_qchat_role_def.h:665
uint64_t channel_id
Definition: nim_qchat_role_def.h:669
QChatMemberAccountId * accids
Definition: nim_qchat_role_def.h:670
uint64_t server_id
Definition: nim_qchat_role_def.h:668
nim_qhcat_role_get_existing_accids_of_member_roles_cb_func cb
Definition: nim_qchat_role_def.h:666
size_t account_count
Definition: nim_qchat_role_def.h:671
void * user_data
Definition: nim_qchat_role_def.h:667
Definition: nim_qchat_role_def.h:356
uint32_t res_code
Definition: nim_qchat_role_def.h:357
size_t member_ids_count
Definition: nim_qchat_role_def.h:360
QChatMemberAccountId * member_ids
Definition: nim_qchat_role_def.h:359
void * user_data
Definition: nim_qchat_role_def.h:358
Definition: nim_qchat_role_def.h:655
uint64_t channel_id
Definition: nim_qchat_role_def.h:659
size_t role_count
Definition: nim_qchat_role_def.h:661
uint64_t * role_ids
Definition: nim_qchat_role_def.h:660
uint64_t server_id
Definition: nim_qchat_role_def.h:658
void * user_data
Definition: nim_qchat_role_def.h:657
nim_qchat_role_get_existing_roles_in_channel_cb_func cb
Definition: nim_qchat_role_def.h:656
Definition: nim_qchat_role_def.h:622
uint64_t timestamp
时间戳,查询最新指定为 0
Definition: nim_qchat_role_def.h:630
uint64_t channel_id
频道 ID
Definition: nim_qchat_role_def.h:628
uint32_t limit
限制返回数量
Definition: nim_qchat_role_def.h:632
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:626
void * user_data
Definition: nim_qchat_role_def.h:624
nim_qchat_role_member_get_list_cb_func cb
Definition: nim_qchat_role_def.h:623
Definition: nim_qchat_role_def.h:316
size_t member_role_count
Definition: nim_qchat_role_def.h:320
void * user_data
Definition: nim_qchat_role_def.h:318
uint32_t res_code
Definition: nim_qchat_role_def.h:317
NIMQChatMemberRoleInfo * role_infos
Definition: nim_qchat_role_def.h:319
Definition: nim_qchat_role_def.h:528
uint32_t limit
限制返回数量
Definition: nim_qchat_role_def.h:538
char * begin_accid
起查 account ID
Definition: nim_qchat_role_def.h:540
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:532
void * user_data
Definition: nim_qchat_role_def.h:530
nim_qchat_role_server_get_members_cb_func cb
Definition: nim_qchat_role_def.h:529
uint64_t role_id
身份组 ID
Definition: nim_qchat_role_def.h:534
uint64_t timestamp
时间戳,从最新起查使用 0
Definition: nim_qchat_role_def.h:536
Definition: nim_qchat_role_def.h:249
uint32_t res_code
Definition: nim_qchat_role_def.h:250
size_t member_count
Definition: nim_qchat_role_def.h:253
NIMQChatRoleMemberInfo * members
Definition: nim_qchat_role_def.h:252
void * user_data
Definition: nim_qchat_role_def.h:251
Definition: nim_qchat_role_def.h:646
size_t account_count
Definition: nim_qchat_role_def.h:651
nim_qchat_role_member_get_roles_by_ids_cb_func cb
Definition: nim_qchat_role_def.h:647
uint64_t server_id
Definition: nim_qchat_role_def.h:649
QChatMemberAccountId * accids
Definition: nim_qchat_role_def.h:650
void * user_data
Definition: nim_qchat_role_def.h:648
Definition: nim_qchat_role_def.h:342
uint32_t res_code
Definition: nim_qchat_role_def.h:343
NIMQChatRoleInfoOfMember * roles_of_member
Definition: nim_qchat_role_def.h:345
void * user_data
Definition: nim_qchat_role_def.h:344
size_t count
Definition: nim_qchat_role_def.h:346
Definition: nim_qchat_role_def.h:636
nim_qchat_role_member_roles_cb_func cb
Definition: nim_qchat_role_def.h:637
char * accid
Definition: nim_qchat_role_def.h:640
uint64_t server_id
Definition: nim_qchat_role_def.h:639
uint64_t timestamp
Definition: nim_qchat_role_def.h:641
uint32_t limit
Definition: nim_qchat_role_def.h:642
void * user_data
Definition: nim_qchat_role_def.h:638
Definition: nim_qchat_role_def.h:495
uint64_t channel_id
频道 ID, 如果非空,则只需要有该channel的管理权限即可,否则需要有server的管理权限
Definition: nim_qchat_role_def.h:505
void * user_data
Definition: nim_qchat_role_def.h:497
uint64_t channel_category_id
频道分组 ID, 如果非空,则只需要有该channel_category的管理权限即可,否则需要有server的管理权限
Definition: nim_qchat_role_def.h:507
nim_qchat_role_server_get_list_cb_func cb
Definition: nim_qchat_role_def.h:496
uint64_t priority
起查的身份组优先级
Definition: nim_qchat_role_def.h:503
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:499
uint32_t limit
限制返回数量
Definition: nim_qchat_role_def.h:501
Definition: nim_qchat_role_def.h:223
NIMQChatRoleInfo * roles
Definition: nim_qchat_role_def.h:226
void * user_data
Definition: nim_qchat_role_def.h:225
size_t role_count
Definition: nim_qchat_role_def.h:227
uint32_t res_code
Definition: nim_qchat_role_def.h:224
NIMQChatRoleInfo * joined_roles
Definition: nim_qchat_role_def.h:228
size_t joined_role_count
Definition: nim_qchat_role_def.h:229
Definition: nim_qchat_member_def.h:21
Definition: nim_qchat_role_def.h:170
size_t permissions_count
身份组权限组合数量
Definition: nim_qchat_role_def.h:180
uint64_t create_time
身份组创建时间
Definition: nim_qchat_role_def.h:182
uint64_t role_id
该定制权限所在的身份组 ID
Definition: nim_qchat_role_def.h:174
NIMQChatMemberInfo member_info
定制权限的用户信息
Definition: nim_qchat_role_def.h:176
uint64_t update_time
身份组修改时间
Definition: nim_qchat_role_def.h:184
uint64_t channel_id
该定制权限所在的频道 ID
Definition: nim_qchat_role_def.h:172
NIMQChatPermissionGroup * permissions
身份组权限设定
Definition: nim_qchat_role_def.h:178
Definition: nim_qchat_role_def.h:86
uint32_t permission
权限, 见 NIMQChatPermissions 以及自定义权限
Definition: nim_qchat_role_def.h:88
NIMQChatPermissionsOption option
开关
Definition: nim_qchat_role_def.h:90
Definition: nim_qchat_role_def.h:793
uint64_t category_id
频道分组 ID
Definition: nim_qchat_role_def.h:799
char * accid
用户账号
Definition: nim_qchat_role_def.h:801
void * user_data
Definition: nim_qchat_role_def.h:795
nim_qchat_role_channel_category_member_role_remove_cb_func cb
Definition: nim_qchat_role_def.h:794
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:797
Definition: nim_qchat_role_def.h:739
uint64_t category_id
频道分组 ID
Definition: nim_qchat_role_def.h:745
nim_qchat_role_channel_category_remove_cb_func cb
Definition: nim_qchat_role_def.h:740
void * user_data
Definition: nim_qchat_role_def.h:741
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:743
uint64_t role_id
身份组 ID
Definition: nim_qchat_role_def.h:747
Definition: nim_qchat_role_def.h:564
void * user_data
Definition: nim_qchat_role_def.h:566
uint64_t role_id
身份组 ID
Definition: nim_qchat_role_def.h:572
nim_qchat_role_channel_remove_cb_func cb
Definition: nim_qchat_role_def.h:565
uint64_t channel_id
频道 ID
Definition: nim_qchat_role_def.h:570
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:568
Definition: nim_qchat_role_def.h:610
uint64_t channel_id
身份组 ID
Definition: nim_qchat_role_def.h:616
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:614
char * accid
用户账号
Definition: nim_qchat_role_def.h:618
void * user_data
Definition: nim_qchat_role_def.h:612
nim_qchat_role_member_remove_cb_func cb
Definition: nim_qchat_role_def.h:611
Definition: nim_qchat_role_def.h:138
char * role_icon
身份组图片 URL
Definition: nim_qchat_role_def.h:146
uint64_t role_id
身份组id
Definition: nim_qchat_role_def.h:142
NIMQChatChannelCategoryRoleInfo channel_category_role
仅频道分组拥有的身份组字段
Definition: nim_qchat_role_def.h:165
NIMQChatServerRoleInfo server_role
仅服务器拥有的身份组字段
Definition: nim_qchat_role_def.h:161
char * role_name
身份组名称
Definition: nim_qchat_role_def.h:144
uint64_t update_time
身份组修改时间
Definition: nim_qchat_role_def.h:158
NIMQChatRoleType role_type
身份组类型 1 表示 Everyone,2 表示定制身份组
Definition: nim_qchat_role_def.h:154
size_t permissions_count
身份组权限组合数量
Definition: nim_qchat_role_def.h:152
uint64_t create_time
身份组创建时间
Definition: nim_qchat_role_def.h:156
NIMQChatChannelRoleInfo channel_role
仅频道拥有的身份组字段
Definition: nim_qchat_role_def.h:163
uint64_t server_id
服务器ID
Definition: nim_qchat_role_def.h:140
char * extension
身份组扩展字段
Definition: nim_qchat_role_def.h:148
NIMQChatPermissionGroup * permissions
身份组权限设定
Definition: nim_qchat_role_def.h:150
Definition: nim_qchat_role_def.h:335
NIMQChatRoleInfo * roles
Definition: nim_qchat_role_def.h:337
size_t role_count
Definition: nim_qchat_role_def.h:338
char * member_id
Definition: nim_qchat_role_def.h:336
Definition: nim_qchat_role_def.h:104
uint64_t role_id
所在身份组role id
Definition: nim_qchat_role_def.h:108
NIMQChatMemberInfo member_info
member info
Definition: nim_qchat_role_def.h:106
Definition: nim_qchat_role_def.h:112
uint32_t member_count
该身份组的成员数量,Everyone 身份组数量为 -1
Definition: nim_qchat_role_def.h:114
uint64_t priority
身份组优先级,Everyone 最低为 0,数字越大优先级越低
Definition: nim_qchat_role_def.h:116
Definition: nim_qchat_role_def.h:777
NIMQChatPermissionGroup * permissions
身份组权限设定
Definition: nim_qchat_role_def.h:787
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:781
nim_qchat_role_channel_category_member_role_update_cb_func cb
Definition: nim_qchat_role_def.h:778
size_t permission_count
权限设定数量
Definition: nim_qchat_role_def.h:789
uint64_t category_id
频道分组 ID
Definition: nim_qchat_role_def.h:783
char * accid
用户 ID
Definition: nim_qchat_role_def.h:785
void * user_data
Definition: nim_qchat_role_def.h:779
Definition: nim_qchat_role_def.h:723
NIMQChatPermissionGroup * permissions
身份组权限设定
Definition: nim_qchat_role_def.h:733
size_t permission_count
权限设定数量
Definition: nim_qchat_role_def.h:735
uint64_t server_id
服务器 ID
Definition: nim_qchat_role_def.h:727
void * user_data
Definition: nim_qchat_role_def.h:725
nim_qchat_role_channel_category_update_cb_func cb
Definition: nim_qchat_role_def.h:724
uint64_t category_id
频道分组 ID
Definition: nim_qchat_role_def.h:729
uint64_t role_id
身份组 ID
Definition: nim_qchat_role_def.h:731
Definition: nim_qchat_role_def.h:553
NIMQChatPermissionGroup * permissions
Definition: nim_qchat_role_def.h:559
uint64_t channel_id
Definition: nim_qchat_role_def.h:558
uint64_t server_id
Definition: nim_qchat_role_def.h:556
uint64_t role_id
Definition: nim_qchat_role_def.h:557
void * user_data
Definition: nim_qchat_role_def.h:555
nim_qchat_role_channel_update_cb_func cb
Definition: nim_qchat_role_def.h:554
size_t permission_count
Definition: nim_qchat_role_def.h:560
Definition: nim_qchat_role_def.h:599
char * accid
Definition: nim_qchat_role_def.h:604
NIMQChatPermissionGroup * permissions
Definition: nim_qchat_role_def.h:605
uint64_t channel_id
Definition: nim_qchat_role_def.h:603
nim_qchat_role_member_update_cb_func cb
Definition: nim_qchat_role_def.h:600
size_t permission_count
Definition: nim_qchat_role_def.h:606
void * user_data
Definition: nim_qchat_role_def.h:601
uint64_t server_id
Definition: nim_qchat_role_def.h:602
Definition: nim_qchat_role_def.h:459
NIMQChatRoleInfo role_info
服务器身份组信息结构体
Definition: nim_qchat_role_def.h:463
nim_qchat_role_server_update_cb_func cb
Definition: nim_qchat_role_def.h:460
void * user_data
Definition: nim_qchat_role_def.h:461
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_role_def.h:465
Definition: nim_qchat_role_def.h:213
NIMQChatRoleInfo role_info
Definition: nim_qchat_role_def.h:216
void * user_data
Definition: nim_qchat_role_def.h:215
uint32_t res_code
Definition: nim_qchat_role_def.h:214