NIM PC Cross Platform SDK
nim_qchat_server_def.h
Go to the documentation of this file.
1
11#ifndef __NIM_QCHAT_SERVER_DEF_H__
12#define __NIM_QCHAT_SERVER_DEF_H__
13
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
25 kNIMQChatServerInviteModeNormal // 不需要验证
26};
27
34};
35
42};
43
50};
51
55 uint64_t server_id;
57 uint32_t server_type;
61 char* name;
63 char* icon;
65 char* custom;
67 char* owner_id;
69 uint64_t member_count;
77 uint32_t channel_count;
81 uint64_t create_time;
83 uint64_t update_time;
86};
87
100};
101
118};
119
128};
129
133 char* accid;
139 uint64_t update_time;
140};
141
150};
151
158};
159
167 uint32_t invite_count;
168};
169
178};
179
183 char* accid;
187 uint64_t server_id;
191 uint64_t request_id;
193 uint64_t record_id;
195 uint64_t create_time;
197 uint64_t update_time;
199 uint64_t expire_time;
201 char* raw_data;
202 union {
213 };
214};
215
219 uint32_t res_code;
224};
225
228
231
235 uint32_t res_code;
242};
243
247 uint32_t res_code;
256};
257
261 uint32_t res_code;
265 uint64_t request_id;
267 uint64_t expire_time;
271 char** accids;
274};
275
278
281
285 uint32_t res_code;
289 uint64_t request_id;
291 uint64_t expire_time;
292};
293
296
299
302
305
308
312 uint32_t res_code;
319};
320
324 uint32_t res_code;
333};
334
338 uint32_t res_code;
342 uint64_t* failed_servers;
345};
346
349
352
356 uint32_t res_code;
365};
366
369
372
381};
382
386 uint32_t res_code;
390 uint64_t server_id;
392 uint64_t request_id;
396 uint64_t expire_time;
397};
398
401
405 uint32_t res_code;
412};
413
416
420 uint32_t res_code;
428 uint64_t* failed_servers;
432 uint64_t timestamp;
433};
434
438 uint32_t res_code;
442 uint64_t* failed_servers;
449};
450
451/* ----------------------------- 接口回调模板 ------------------------------- */
510
511/* ----------------------------- 接口调用参数 ----------------------------- */
515 void* user_data;
516};
517
528};
529
537 uint64_t server_id;
538};
539
550};
551
561 uint64_t* server_ids;
562};
563
571 uint64_t timestamp;
573 uint32_t limit;
574};
575
583 uint64_t server_id;
589 uint64_t ttl;
592};
593
601 uint64_t server_id;
603 char* accid;
605 uint64_t request_id;
606};
607
615 uint64_t server_id;
617 char* accid;
621 uint64_t request_id;
622};
623
631 uint64_t server_id;
633 uint64_t ttl;
636};
637
645 uint64_t server_id;
647 char* accid;
649 uint64_t request_id;
650};
651
659 uint64_t server_id;
661 char* accid;
665 uint64_t request_id;
666};
667
675 uint64_t server_id;
677 char** accids;
680};
681
689 uint64_t server_id;
690};
691
702};
703
706 uint64_t server_id;
707 char* accid;
708};
709
720};
721
729 uint64_t server_id;
731 uint64_t timestamp;
733 uint32_t limit;
734};
735
749 uint64_t* server_ids;
750};
751
759 uint64_t server_id;
761 char* accid;
763 char* custom;
764};
765
773 uint64_t server_id;
775 char* accid;
777 char* custom;
778};
779
787 uint64_t server_id;
789 uint64_t timestamp;
791 uint32_t limit;
792};
793
801 char* keyword;
803 uint64_t start_time;
805 uint64_t end_time;
811 uint32_t* server_types;
817 uint32_t limit;
819 char* cursor;
820};
821
829 uint64_t server_id;
831 char* keyword;
833 uint32_t limit;
834};
835
843 uint64_t server_id;
845 uint64_t ttl;
846};
847
855 uint64_t server_id;
860};
861
869 uint64_t server_id;
871 uint64_t start_time;
873 uint64_t end_time;
877 uint32_t limit;
880};
881
889 uint64_t start_time;
891 uint64_t end_time;
895 uint32_t limit;
898};
899
907 uint64_t* server_ids;
910};
911
921 uint64_t* server_ids;
924};
925
926#ifdef __cplusplus
927}
928#endif
929
930#endif // __NIM_QCHAT_SERVER_DEF_H__
NIMQChatSubscribeType
Definition: nim_qchat_public_def.h:45
NIMQChatServerSearchSort
服务器搜索排序规则
Definition: nim_qchat_public_def.h:90
NIMQChatSearchOrder
搜索排序顺序
Definition: nim_qchat_public_def.h:82
NIMQChatSubscribeOpeType
Definition: nim_qchat_public_def.h:37
void(* nim_qchat_server_generate_invite_code_cb_func)(const NIMQChatServerGenerateInviteCodeResp &resp)
生成邀请码回调
Definition: nim_qchat_server_def.h:499
void(* nim_qchat_server_get_invite_apply_record_by_self_cb_func)(const NIMQChatServerGetInviteApplyRecordOfSelfResp &resp)
查询自己的申请邀请记录回调
Definition: nim_qchat_server_def.h:505
void(* nim_qchat_server_get_servers_cb_func)(const NIMQChatServerGetServersResp &resp)
查询服务列表回调
Definition: nim_qchat_server_def.h:461
NIMQChatServerInviteMode
Definition: nim_qchat_server_def.h:22
@ kNIMQChatServerInviteModeNeedConfirm
需要验证
Definition: nim_qchat_server_def.h:24
void(* nim_qchat_server_unban_member_cb_func)(const NIMQChatServerUnbanMemberResp &resp)
解封成员回调
Definition: nim_qchat_server_def.h:491
void(* nim_qchat_server_invite_cb_func)(const NIMQChatServerInviteResp &resp)
邀请回调
Definition: nim_qchat_server_def.h:465
void(* nim_qchat_server_subscribe_all_channel_cb_func)(const NIMQChatServerSubscribeAllChannelResp &resp)
订阅所有频道
Definition: nim_qchat_server_def.h:509
void(* nim_qchat_server_apply_cb_func)(const NIMQChatServerApplyResp &resp)
申请回调
Definition: nim_qchat_server_def.h:471
NIMQChatInviteApplyRecordType
Definition: nim_qchat_server_def.h:89
@ kNIMQChatInviteApplyRecordTypeInvite
邀请
Definition: nim_qchat_server_def.h:93
@ kNIMQChatInviteApplyRecordTypeJoinByInviteCode
通过邀请码加入
Definition: nim_qchat_server_def.h:99
@ kNIMQChatInviteApplyRecordTypeGenerateInviteCode
生成邀请码
Definition: nim_qchat_server_def.h:97
@ kNIMQChatInviteApplyRecordTypeApply
申请
Definition: nim_qchat_server_def.h:91
@ kNIMQChatInviteApplyRecordTypeBeInvited
被邀请
Definition: nim_qchat_server_def.h:95
void(* nim_qchat_server_ban_member_cb_func)(const NIMQChatServerBanMemberResp &resp)
封禁成员回调
Definition: nim_qchat_server_def.h:489
void(* nim_qchat_server_get_members_cb_func)(const NIMQChatServerGetMembersResp &resp)
查询成员列表回调
Definition: nim_qchat_server_def.h:483
void(* nim_qchat_server_get_invite_apply_record_of_server_cb_func)(const NIMQChatServerGetInviteApplyRecordOfServerResp &resp)
查询服务器下的申请邀请记录回调
Definition: nim_qchat_server_def.h:503
void(* nim_qchat_server_update_member_info_cb_func)(const NIMQChatServerUpdateMemberInfoResp &resp)
更新成员信息回调
Definition: nim_qchat_server_def.h:481
void(* nim_qchat_server_remove_cb_func)(const NIMQChatServerDeleteResp &resp)
删除服务回调
Definition: nim_qchat_server_def.h:457
void(* nim_qchat_server_update_cb_func)(const NIMQChatServerUpdateResp &resp)
更新服务回调
Definition: nim_qchat_server_def.h:459
void(* nim_qchat_server_subscribe_cb_func)(const NIMQChatServerSubscribeResp &resp)
订阅回调
Definition: nim_qchat_server_def.h:487
void(* nim_qchat_server_accept_invite_cb_func)(const NIMQChatServerAcceptInviteResp &resp)
接受邀请回调
Definition: nim_qchat_server_def.h:467
void(* nim_qchat_server_mark_read_cb_func)(const NIMQChatServerMarkReadResp &resp)
服务器标记已读
Definition: nim_qchat_server_def.h:507
void(* nim_qchat_server_reject_apply_cb_func)(const NIMQChatServerRejectApplyResp &resp)
拒绝申请回调
Definition: nim_qchat_server_def.h:475
nim_qchat_server_get_members_cb_func nim_qchat_server_member_search_cb_func
搜索成员分页回调
Definition: nim_qchat_server_def.h:497
void(* nim_qchat_server_reject_invite_cb_func)(const NIMQChatServerRejectInviteResp &resp)
拒绝邀请回调
Definition: nim_qchat_server_def.h:469
void(* nim_qchat_server_join_by_invite_code_cb_func)(const NIMQChatServerJoinByInviteCodeResp &resp)
通过邀请码加入回调
Definition: nim_qchat_server_def.h:501
void(* nim_qchat_server_kick_cb_func)(const NIMQChatServerKickResp &resp)
踢人回调
Definition: nim_qchat_server_def.h:477
void(* nim_qchat_server_get_banned_members_page_cb_func)(const NIMQChatServerGetBannedMembersPageResp &resp)
查询封禁成员列表回调
Definition: nim_qchat_server_def.h:493
NIMQChatServerInviteFailReason
Definition: nim_qchat_server_def.h:37
@ kNIMQChatServerInviteFailReasonExceedLimit
服务器人数超过限制
Definition: nim_qchat_server_def.h:39
@ kNIMQChatServerInviteFailReasonBanned
被封禁
Definition: nim_qchat_server_def.h:41
NIMQChatInviteApplyRecordStatus
Definition: nim_qchat_server_def.h:103
@ kNIMQChatInviteApplyRecordStatusReject
拒绝
Definition: nim_qchat_server_def.h:109
@ kNIMQChatInviteApplyRecordStatusAutoJoin
邀请/申请时自动加入
Definition: nim_qchat_server_def.h:115
@ kNIMQChatInviteApplyRecordStatusExpired
过期
Definition: nim_qchat_server_def.h:117
@ kNIMQChatInviteApplyRecordStatusApproveByOtherRequest
通过其他请求同意
Definition: nim_qchat_server_def.h:111
@ kNIMQChatInviteApplyRecordStatusApprove
同意
Definition: nim_qchat_server_def.h:107
@ kNIMQChatInviteApplyRecordStatusInitial
初始状态
Definition: nim_qchat_server_def.h:105
@ kNIMQChatInviteApplyRecordStatusRejectByOtherRequest
通过其他请求拒绝
Definition: nim_qchat_server_def.h:113
nim_qchat_server_get_servers_page_cb_func nim_qchat_server_search_page_cb_func
搜索服务器分页回调
Definition: nim_qchat_server_def.h:495
void(* nim_qchat_server_get_servers_page_cb_func)(const NIMQChatServerGetServersPageResp &resp)
查询服务列表分页回调
Definition: nim_qchat_server_def.h:463
void(* nim_qchat_server_create_cb_func)(const NIMQChatServerCreateResp &resp)
创建服务回调
Definition: nim_qchat_server_def.h:455
NIMQChatServerApplyMode
Definition: nim_qchat_server_def.h:29
@ kNIMQChatServerApplyModeNeedConfirm
需要验证
Definition: nim_qchat_server_def.h:33
@ kNIMQChatServerApplyModeNormal
不需要验证
Definition: nim_qchat_server_def.h:31
void(* nim_qchat_server_get_members_page_cb_func)(const NIMQChatServerGetMembersPageResp &resp)
查询成员列表分页回调
Definition: nim_qchat_server_def.h:485
NIMQChatServerSearchType
Definition: nim_qchat_server_def.h:45
@ kNIMQChatServerSearchTypePersonal
个人服务器搜索
Definition: nim_qchat_server_def.h:49
@ kNIMQChatServerSearchTypeSquare
广场搜索
Definition: nim_qchat_server_def.h:47
void(* nim_qchat_server_unread_cb_func)(const NIMQChatServerUnreadResp &resp)
未读数回调
Definition: nim_qchat_server_def.h:453
void(* nim_qchat_server_leave_cb_func)(const NIMQChatServerLeaveResp &resp)
离开回调
Definition: nim_qchat_server_def.h:479
void(* nim_qchat_server_accept_apply_cb_func)(const NIMQChatServerAcceptApplyResp &resp)
接受申请回调
Definition: nim_qchat_server_def.h:473
Definition: nim_qchat_server_def.h:121
char * apply_postscript
申请附言
Definition: nim_qchat_server_def.h:123
char * update_postscript
更新附言
Definition: nim_qchat_server_def.h:127
char * update_accid
更新者 id
Definition: nim_qchat_server_def.h:125
Definition: nim_qchat_public_def.h:114
Definition: nim_qchat_server_def.h:153
char * update_postscript
更新附言
Definition: nim_qchat_server_def.h:157
char * invite_postscript
邀请附言
Definition: nim_qchat_server_def.h:155
Definition: nim_qchat_public_def.h:122
Definition: nim_qchat_server_def.h:161
uint32_t invite_count
邀请人数
Definition: nim_qchat_server_def.h:167
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:165
char * invite_postscript
邀请附言
Definition: nim_qchat_server_def.h:163
Definition: nim_qchat_server_def.h:181
NIMQChatBeInvitedInfoData be_invited_data
被邀请数据
Definition: nim_qchat_server_def.h:208
NIMQChatJoinByInviteCodeInfoData join_by_invite_code_data
通过邀请码加入数据
Definition: nim_qchat_server_def.h:212
NIMQChatApplyInfoData apply_data
申请数据
Definition: nim_qchat_server_def.h:204
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:187
NIMQChatGenerateInviteCodeInfoData generate_invite_code_data
生成邀请码数据
Definition: nim_qchat_server_def.h:210
char * accid
accid
Definition: nim_qchat_server_def.h:183
uint64_t update_time
更新时间
Definition: nim_qchat_server_def.h:197
NIMQChatInviteApplyRecordType type
type
Definition: nim_qchat_server_def.h:185
uint64_t create_time
创建时间
Definition: nim_qchat_server_def.h:195
uint64_t record_id
记录ID
Definition: nim_qchat_server_def.h:193
uint64_t expire_time
过期时间
Definition: nim_qchat_server_def.h:199
char * raw_data
邀请申请信息原始Json数据
Definition: nim_qchat_server_def.h:201
NIMQChatInviteInfoData invite_data
邀请数据
Definition: nim_qchat_server_def.h:206
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:191
NIMQChatInviteApplyRecordStatus status
状态
Definition: nim_qchat_server_def.h:189
Definition: nim_qchat_server_def.h:143
char * invite_postscript
邀请附言
Definition: nim_qchat_server_def.h:145
NIMQChatInviteUserInfo * invite_user_infos
邀请成员信息列表
Definition: nim_qchat_server_def.h:147
size_t invite_user_infos_count
邀请成员信息列表数量
Definition: nim_qchat_server_def.h:149
Definition: nim_qchat_server_def.h:131
NIMQChatInviteApplyRecordStatus status
状态
Definition: nim_qchat_server_def.h:137
char * accid
accid
Definition: nim_qchat_server_def.h:133
uint64_t update_time
更新时间
Definition: nim_qchat_server_def.h:139
char * update_postscript
更新附言
Definition: nim_qchat_server_def.h:135
Definition: nim_qchat_server_def.h:171
char * update_postscript
更新附言
Definition: nim_qchat_server_def.h:175
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:177
char * invite_postscript
邀请附言
Definition: nim_qchat_server_def.h:173
Definition: nim_qchat_member_def.h:49
Definition: nim_qchat_member_def.h:21
Definition: nim_qchat_public_def.h:177
Definition: nim_qchat_server_def.h:639
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:649
char * accid
申请人 id
Definition: nim_qchat_server_def.h:647
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:645
nim_qchat_server_accept_apply_cb_func cb
接受申请异步回调
Definition: nim_qchat_server_def.h:641
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:643
Definition: nim_qchat_server_def.h:595
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:605
nim_qchat_server_accept_invite_cb_func cb
接受邀请异步回调
Definition: nim_qchat_server_def.h:597
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:599
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:601
char * accid
邀请人 id
Definition: nim_qchat_server_def.h:603
Definition: nim_qchat_server_def.h:625
nim_qchat_server_apply_cb_func cb
申请加入异步回调
Definition: nim_qchat_server_def.h:627
char * postscript
附言
Definition: nim_qchat_server_def.h:635
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:629
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:631
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:633
Definition: nim_qchat_server_def.h:283
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:285
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:289
uint64_t expire_time
过期时间
Definition: nim_qchat_server_def.h:291
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:287
Definition: nim_qchat_server_def.h:753
char * accid
用户id
Definition: nim_qchat_server_def.h:761
char * custom
自定义字段
Definition: nim_qchat_server_def.h:763
nim_qchat_server_ban_member_cb_func cb
封禁成员异步回调
Definition: nim_qchat_server_def.h:755
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:759
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:757
Definition: nim_qchat_server_def.h:519
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:527
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:523
nim_qchat_server_create_cb_func cb
创建会话异步回调
Definition: nim_qchat_server_def.h:521
NIMQChatServerInfo server_info
服务器信息
Definition: nim_qchat_server_def.h:525
Definition: nim_qchat_server_def.h:217
NIMQChatServerInfo server_info
服务器 id
Definition: nim_qchat_server_def.h:223
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:219
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:221
Definition: nim_qchat_server_def.h:531
nim_qchat_server_remove_cb_func cb
删除会话异步回调
Definition: nim_qchat_server_def.h:533
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:537
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:535
Definition: nim_qchat_server_def.h:837
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:845
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:841
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:843
nim_qchat_server_generate_invite_code_cb_func cb
生成邀请码异步回调
Definition: nim_qchat_server_def.h:839
Definition: nim_qchat_server_def.h:384
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:394
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:392
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:388
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:386
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:390
uint64_t expire_time
过期时间
Definition: nim_qchat_server_def.h:396
Definition: nim_qchat_server_def.h:781
nim_qchat_server_get_banned_members_page_cb_func cb
查询封禁成员列表异步回调
Definition: nim_qchat_server_def.h:783
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:791
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:787
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:789
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:785
Definition: nim_qchat_server_def.h:354
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:358
size_t ban_list_count
封禁成员信息列表数量
Definition: nim_qchat_server_def.h:362
NIMQChatMemberBanInfo * ban_list
封禁成员信息列表
Definition: nim_qchat_server_def.h:364
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_server_def.h:360
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:356
Definition: nim_qchat_server_def.h:883
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:891
nim_qchat_server_get_invite_apply_record_by_self_cb_func cb
查询自己邀请申请历史异步回调
Definition: nim_qchat_server_def.h:885
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:895
bool reverse
是否倒序, false: 否, true: 是
Definition: nim_qchat_server_def.h:893
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:887
uint64_t exclude_record_id
要排除的记录id
Definition: nim_qchat_server_def.h:897
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:889
Definition: nim_qchat_server_def.h:863
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:869
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:877
bool reverse
是否倒序, false: 否, true: 是
Definition: nim_qchat_server_def.h:875
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:871
uint64_t exclude_record_id
要排除的记录id
Definition: nim_qchat_server_def.h:879
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:873
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:867
nim_qchat_server_get_invite_apply_record_of_server_cb_func cb
查询服务器下邀请申请历史异步回调
Definition: nim_qchat_server_def.h:865
Definition: nim_qchat_server_def.h:403
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:407
size_t invite_apply_records_count
邀请申请历史列表数量
Definition: nim_qchat_server_def.h:409
NIMQChatInviteApplyRecord * invite_apply_records
邀请申请历史列表
Definition: nim_qchat_server_def.h:411
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:405
Definition: nim_qchat_server_def.h:723
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:731
nim_qchat_server_get_members_page_cb_func cb
查询成员列表异步回调
Definition: nim_qchat_server_def.h:725
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:729
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:727
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:733
Definition: nim_qchat_server_def.h:322
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:326
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:324
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_server_def.h:328
NIMQChatMemberInfo * member_list
成员信息列表
Definition: nim_qchat_server_def.h:332
size_t member_list_count
成员信息列表数量
Definition: nim_qchat_server_def.h:330
Definition: nim_qchat_server_def.h:711
nim_qchat_server_get_members_cb_func cb
查询成员列表异步回调
Definition: nim_qchat_server_def.h:713
NIMQChatServerMemberPair * server_accid_list
服务器id和accid列表
Definition: nim_qchat_server_def.h:717
size_t server_accid_list_count
服务器id和accid列表长度
Definition: nim_qchat_server_def.h:719
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:715
Definition: nim_qchat_server_def.h:310
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:314
size_t member_list_count
成员信息列表数量
Definition: nim_qchat_server_def.h:316
NIMQChatMemberInfo * member_list
成员信息列表
Definition: nim_qchat_server_def.h:318
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:312
Definition: nim_qchat_server_def.h:565
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:571
nim_qchat_server_get_servers_page_cb_func cb
查询会话列表分页异步回调
Definition: nim_qchat_server_def.h:567
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:569
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:573
Definition: nim_qchat_server_def.h:245
NIMQChatPageInfo page_info
分页信息
Definition: nim_qchat_server_def.h:251
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:249
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:247
size_t server_list_count
服务器列表数量
Definition: nim_qchat_server_def.h:253
NIMQChatServerInfo * server_list
服务器列表
Definition: nim_qchat_server_def.h:255
Definition: nim_qchat_server_def.h:553
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:561
nim_qchat_server_get_servers_cb_func cb
查询会话列表异步回调
Definition: nim_qchat_server_def.h:555
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:559
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:557
Definition: nim_qchat_server_def.h:233
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:237
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:235
NIMQChatServerInfo * server_list
服务器列表
Definition: nim_qchat_server_def.h:241
size_t server_list_count
服务器列表数量
Definition: nim_qchat_server_def.h:239
Definition: nim_qchat_server_def.h:53
NIMQChatServerApplyMode apply_mode
申请模式
Definition: nim_qchat_server_def.h:73
uint64_t reorder_weight
自定义排序权重值
Definition: nim_qchat_server_def.h:85
char * icon
图标 url
Definition: nim_qchat_server_def.h:63
char * owner_id
所有者 id
Definition: nim_qchat_server_def.h:67
char * custom
自定义字段
Definition: nim_qchat_server_def.h:65
uint64_t member_count
成员数量
Definition: nim_qchat_server_def.h:69
bool searchable
是否能被搜索
Definition: nim_qchat_server_def.h:59
uint32_t server_type
用户自定义服务器类别, 0表示无类别
Definition: nim_qchat_server_def.h:57
uint32_t channel_category_count
总频道分组数量
Definition: nim_qchat_server_def.h:79
uint64_t create_time
创建时间
Definition: nim_qchat_server_def.h:81
char * name
名称
Definition: nim_qchat_server_def.h:61
uint32_t channel_count
该服务器下频道总数
Definition: nim_qchat_server_def.h:77
uint64_t server_id
server id
Definition: nim_qchat_server_def.h:55
NIMQChatServerInviteMode invite_mode
邀请模式
Definition: nim_qchat_server_def.h:71
bool valid_flag
有效标记,false:无效 true:有效
Definition: nim_qchat_server_def.h:75
uint64_t update_time
更新时间
Definition: nim_qchat_server_def.h:83
Definition: nim_qchat_server_def.h:577
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:583
size_t invite_ids_count
受邀人 id 列表长度
Definition: nim_qchat_server_def.h:587
char * postscript
附言
Definition: nim_qchat_server_def.h:591
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:589
char ** invite_ids
受邀人 id 列表
Definition: nim_qchat_server_def.h:585
nim_qchat_server_invite_cb_func cb
邀请异步回调
Definition: nim_qchat_server_def.h:579
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:581
Definition: nim_qchat_server_def.h:259
NIMQChatServerInviteFailReason * fail_reasons
邀请失败原因列表
Definition: nim_qchat_server_def.h:273
uint64_t expire_time
过期时间
Definition: nim_qchat_server_def.h:267
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:265
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:261
size_t accids_count
邀请失败 id 列表数量
Definition: nim_qchat_server_def.h:269
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:263
char ** accids
邀请失败 id 列表
Definition: nim_qchat_server_def.h:271
Definition: nim_qchat_server_def.h:849
nim_qchat_server_join_by_invite_code_cb_func cb
通过邀请码加入异步回调
Definition: nim_qchat_server_def.h:851
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:857
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:853
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:855
char * postscript
附言
Definition: nim_qchat_server_def.h:859
Definition: nim_qchat_server_def.h:669
char ** accids
被踢人 id 列表
Definition: nim_qchat_server_def.h:677
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:675
size_t accids_count
被踢人 id 列表长度
Definition: nim_qchat_server_def.h:679
nim_qchat_server_kick_cb_func cb
踢人异步回调
Definition: nim_qchat_server_def.h:671
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:673
Definition: nim_qchat_server_def.h:683
nim_qchat_server_leave_cb_func cb
离开异步回调
Definition: nim_qchat_server_def.h:685
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:687
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:689
Definition: nim_qchat_server_def.h:901
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:905
nim_qchat_server_mark_read_cb_func cb
标记服务器下消息已读异步回调
Definition: nim_qchat_server_def.h:903
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:909
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:907
Definition: nim_qchat_server_def.h:418
size_t succeeded_servers_count
订阅成功列表数量
Definition: nim_qchat_server_def.h:426
uint64_t timestamp
标记已读时间戳
Definition: nim_qchat_server_def.h:432
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:420
size_t failed_servers_count
订阅失败列表数量
Definition: nim_qchat_server_def.h:430
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:422
uint64_t * succeeded_servers
订阅成功列表
Definition: nim_qchat_server_def.h:424
uint64_t * failed_servers
订阅失败列表
Definition: nim_qchat_server_def.h:428
Definition: nim_qchat_server_def.h:705
Definition: nim_qchat_server_def.h:823
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:829
nim_qchat_server_member_search_cb_func cb
搜索异步回调
Definition: nim_qchat_server_def.h:825
char * keyword
搜索内容
Definition: nim_qchat_server_def.h:831
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:827
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:833
Definition: nim_qchat_server_def.h:513
Definition: nim_qchat_server_def.h:653
char * postscript
附言
Definition: nim_qchat_server_def.h:663
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:659
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:657
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:665
char * accid
申请人 id
Definition: nim_qchat_server_def.h:661
nim_qchat_server_reject_apply_cb_func cb
拒绝申请异步回调
Definition: nim_qchat_server_def.h:655
Definition: nim_qchat_server_def.h:609
nim_qchat_server_reject_invite_cb_func cb
拒绝邀请异步回调
Definition: nim_qchat_server_def.h:611
char * postscript
附言
Definition: nim_qchat_server_def.h:619
char * accid
邀请人 id
Definition: nim_qchat_server_def.h:617
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:613
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:615
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:621
Definition: nim_qchat_server_def.h:795
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:803
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:817
NIMQChatServerSearchSort sort
排序规则
Definition: nim_qchat_server_def.h:809
char * keyword
搜索内容
Definition: nim_qchat_server_def.h:801
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:799
NIMQChatServerSearchType search_type
搜索类型
Definition: nim_qchat_server_def.h:815
char * cursor
查询游标, 查询的起始位置
Definition: nim_qchat_server_def.h:819
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:805
size_t server_types_count
服务器类型长度
Definition: nim_qchat_server_def.h:813
uint32_t * server_types
搜索的服务器类型, 为空表示搜索所有类型
Definition: nim_qchat_server_def.h:811
NIMQChatSearchOrder order
排序顺序
Definition: nim_qchat_server_def.h:807
nim_qchat_server_search_page_cb_func cb
搜索异步回调
Definition: nim_qchat_server_def.h:797
Definition: nim_qchat_server_def.h:913
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_def.h:919
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:917
nim_qchat_server_subscribe_all_channel_cb_func cb
订阅所有频道异步回调
Definition: nim_qchat_server_def.h:915
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:921
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:923
Definition: nim_qchat_server_def.h:436
size_t unread_infos_count
频道未读信息数量
Definition: nim_qchat_server_def.h:448
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:438
size_t failed_servers_count
订阅失败列表数量
Definition: nim_qchat_server_def.h:444
NIMQChatUnreadInfo * unread_infos
频道未读信息, 内部使用,未读相关变更关注RegUnreadCb回调
Definition: nim_qchat_server_def.h:446
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:440
uint64_t * failed_servers
订阅失败列表
Definition: nim_qchat_server_def.h:442
Definition: nim_qchat_server_def.h:737
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:747
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_def.h:745
nim_qchat_server_subscribe_cb_func cb
订阅频道信息回调函数
Definition: nim_qchat_server_def.h:739
NIMQChatSubscribeOpeType ope_type
操作类型
Definition: nim_qchat_server_def.h:743
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:749
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:741
Definition: nim_qchat_server_def.h:336
uint64_t * failed_servers
订阅失败列表
Definition: nim_qchat_server_def.h:342
uint32_t res_code
操作结果, 参考 NIMResCode
Definition: nim_qchat_server_def.h:338
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:340
size_t failed_servers_count
订阅失败列表数量
Definition: nim_qchat_server_def.h:344
Definition: nim_qchat_server_def.h:767
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:773
char * custom
自定义字段
Definition: nim_qchat_server_def.h:777
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:771
char * accid
用户id
Definition: nim_qchat_server_def.h:775
nim_qchat_server_unban_member_cb_func cb
解封成员异步回调
Definition: nim_qchat_server_def.h:769
Definition: nim_qchat_public_def.h:348
Definition: nim_qchat_server_def.h:374
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:376
size_t unread_infos_count
未读数信息列表长度
Definition: nim_qchat_server_def.h:378
NIMQChatServerUnreadInfo * unread_infos
未读数信息列表
Definition: nim_qchat_server_def.h:380
Definition: nim_qchat_server_def.h:693
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:701
NIMQChatMemberInfo member_info
成员信息
Definition: nim_qchat_server_def.h:699
nim_qchat_server_update_member_info_cb_func cb
更新成员信息异步回调
Definition: nim_qchat_server_def.h:695
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:697
Definition: nim_qchat_server_def.h:541
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:545
nim_qchat_server_update_cb_func cb
更新会话异步回调
Definition: nim_qchat_server_def.h:543
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:549
NIMQChatServerInfo server_info
服务器信息
Definition: nim_qchat_server_def.h:547
Definition: nim_qchat_public_def.h:330