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