NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim_qchat_server_def.h
浏览该文件的文档.
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
453
456
459
460/* ----------------------------- 接口回调模板 ------------------------------- */
525
526/* ----------------------------- 接口调用参数 ----------------------------- */
531};
532
543};
544
552 uint64_t server_id;
553};
554
565};
566
576 uint64_t* server_ids;
577};
578
586 uint64_t timestamp;
588 uint32_t limit;
589};
590
598 uint64_t server_id;
604 uint64_t ttl;
607};
608
616 uint64_t server_id;
618 char* accid;
620 uint64_t request_id;
621};
622
630 uint64_t server_id;
632 char* accid;
636 uint64_t request_id;
637};
638
646 uint64_t server_id;
648 uint64_t ttl;
651};
652
660 uint64_t server_id;
662 char* accid;
664 uint64_t request_id;
665};
666
674 uint64_t server_id;
676 char* accid;
680 uint64_t request_id;
681};
682
690 uint64_t server_id;
692 char** accids;
695};
696
704 uint64_t server_id;
705};
706
717};
718
721 uint64_t server_id;
722 char* accid;
723};
724
735};
736
744 uint64_t server_id;
746 uint64_t timestamp;
748 uint32_t limit;
749};
750
764 uint64_t* server_ids;
765};
766
774 uint64_t server_id;
776 char* accid;
778 char* custom;
779};
780
788 uint64_t server_id;
790 char* accid;
792 char* custom;
793};
794
802 uint64_t server_id;
804 uint64_t timestamp;
806 uint32_t limit;
807};
808
816 char* keyword;
818 uint64_t start_time;
820 uint64_t end_time;
826 uint32_t* server_types;
832 uint32_t limit;
834 char* cursor;
835};
836
844 uint64_t server_id;
846 char* keyword;
848 uint32_t limit;
849};
850
858 uint64_t server_id;
860 uint64_t ttl;
861};
862
870 uint64_t server_id;
875};
876
884 uint64_t server_id;
886 uint64_t start_time;
888 uint64_t end_time;
892 uint32_t limit;
895};
896
904 uint64_t start_time;
906 uint64_t end_time;
910 uint32_t limit;
913};
914
922 uint64_t* server_ids;
925};
926
936 uint64_t* server_ids;
939};
940
950 uint64_t* server_ids;
951};
952
962 uint64_t* server_ids;
963};
964
976 uint64_t* server_ids;
977
978 // 以下字段为内部使用
980};
981
982#ifdef __cplusplus
983}
984#endif
985
986#endif // __NIM_QCHAT_SERVER_DEF_H__
NIMQChatSubscribeType
Definition: nim_qchat_public_def.h:56
NIMQChatServerSearchSort
服务器搜索排序规则
Definition: nim_qchat_public_def.h:117
NIMQChatSearchOrder
搜索排序顺序
Definition: nim_qchat_public_def.h:109
NIMQChatSubscribeOpeType
Definition: nim_qchat_public_def.h:48
NIMQChatBaseResp NIMQChatServerLeaveResp
Definition: nim_qchat_server_def.h:304
void(* nim_qchat_server_get_banned_members_page_cb_func)(const NIMQChatServerGetBannedMembersPageResp *resp)
查询封禁成员列表回调
Definition: nim_qchat_server_def.h:502
void(* nim_qchat_server_unban_member_cb_func)(const NIMQChatServerUnbanMemberResp *resp)
解封成员回调
Definition: nim_qchat_server_def.h:500
void(* nim_qchat_server_mark_read_cb_func)(const NIMQChatServerMarkReadResp *resp)
服务器标记已读
Definition: nim_qchat_server_def.h:516
NIMQChatServerInviteMode
Definition: nim_qchat_server_def.h:22
@ kNIMQChatServerInviteModeNeedConfirm
需要验证
Definition: nim_qchat_server_def.h:24
@ kNIMQChatServerInviteModeNormal
Definition: nim_qchat_server_def.h:25
NIMQChatServerGetInviteApplyRecordOfServerResp NIMQChatServerGetInviteApplyRecordOfSelfResp
Definition: nim_qchat_server_def.h:415
NIMQChatBaseResp NIMQChatServerJoinByInviteCodeResp
Definition: nim_qchat_server_def.h:400
void(* nim_qchat_server_get_servers_page_cb_func)(const NIMQChatServerGetServersPageResp *resp)
查询服务列表分页回调
Definition: nim_qchat_server_def.h:472
void(* nim_qchat_server_subscribe_as_visitor_cb_func)(const NIMQChatServerSubscribeAsVisitorResp *resp)
以游客身份订阅服务器回调
Definition: nim_qchat_server_def.h:524
void(* nim_qchat_server_get_invite_apply_record_by_self_cb_func)(const NIMQChatServerGetInviteApplyRecordOfSelfResp *resp)
查询自己的申请邀请记录回调
Definition: nim_qchat_server_def.h:514
void(* nim_qchat_server_kick_cb_func)(const NIMQChatServerKickResp *resp)
踢人回调
Definition: nim_qchat_server_def.h:486
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
NIMQChatServerSubscribeResp NIMQChatServerLeaveAsVisitorResp
Definition: nim_qchat_server_def.h:455
void(* nim_qchat_server_reject_invite_cb_func)(const NIMQChatServerRejectInviteResp *resp)
拒绝邀请回调
Definition: nim_qchat_server_def.h:478
void(* nim_qchat_server_subscribe_cb_func)(const NIMQChatServerSubscribeResp *resp)
订阅回调
Definition: nim_qchat_server_def.h:496
void(* nim_qchat_server_get_invite_apply_record_of_server_cb_func)(const NIMQChatServerGetInviteApplyRecordOfServerResp *resp)
查询服务器下的申请邀请记录回调
Definition: nim_qchat_server_def.h:512
NIMQChatServerCreateResp NIMQChatServerUpdateResp
Definition: nim_qchat_server_def.h:230
NIMQChatBaseResp NIMQChatServerDeleteResp
Definition: nim_qchat_server_def.h:227
NIMQChatBaseResp NIMQChatServerUnbanMemberResp
Definition: nim_qchat_server_def.h:351
void(* nim_qchat_server_invite_cb_func)(const NIMQChatServerInviteResp *resp)
邀请回调
Definition: nim_qchat_server_def.h:474
void(* nim_qchat_server_join_by_invite_code_cb_func)(const NIMQChatServerJoinByInviteCodeResp *resp)
通过邀请码加入回调
Definition: nim_qchat_server_def.h:510
NIMQChatBaseResp NIMQChatServerAcceptInviteResp
Definition: nim_qchat_server_def.h:277
NIMQChatServerSubscribeResp NIMQChatServerEnterAsVisitorResp
Definition: nim_qchat_server_def.h:452
NIMQChatBaseResp NIMQChatServerRejectApplyResp
Definition: nim_qchat_server_def.h:298
void(* nim_qchat_server_get_members_page_cb_func)(const NIMQChatServerGetMembersPageResp *resp)
查询成员列表分页回调
Definition: nim_qchat_server_def.h:494
void(* nim_qchat_server_update_cb_func)(const NIMQChatServerUpdateResp *resp)
更新服务回调
Definition: nim_qchat_server_def.h:468
void(* nim_qchat_server_get_servers_cb_func)(const NIMQChatServerGetServersResp *resp)
查询服务列表回调
Definition: nim_qchat_server_def.h:470
void(* nim_qchat_server_create_cb_func)(const NIMQChatServerCreateResp *resp)
创建服务回调
Definition: nim_qchat_server_def.h:464
NIMQChatBaseResp NIMQChatServerBanMemberResp
Definition: nim_qchat_server_def.h:348
NIMQChatBaseResp NIMQChatServerRejectInviteResp
Definition: nim_qchat_server_def.h:280
void(* nim_qchat_server_get_members_cb_func)(const NIMQChatServerGetMembersResp *resp)
查询成员列表回调
Definition: nim_qchat_server_def.h:492
nim_qchat_server_get_members_cb_func nim_qchat_server_member_search_cb_func
搜索成员分页回调
Definition: nim_qchat_server_def.h:506
NIMQChatServerGetMembersResp NIMQChatServerMemberSearchResp
Definition: nim_qchat_server_def.h:371
void(* nim_qchat_server_update_member_info_cb_func)(const NIMQChatServerUpdateMemberInfoResp *resp)
更新成员信息回调
Definition: nim_qchat_server_def.h:490
void(* nim_qchat_server_enter_as_visitor_cb_func)(const NIMQChatServerEnterAsVisitorResp *resp)
以游客身份进入服务器回调
Definition: nim_qchat_server_def.h:520
void(* nim_qchat_server_unread_cb_func)(const NIMQChatServerUnreadResp *resp)
未读数回调
Definition: nim_qchat_server_def.h:462
void(* nim_qchat_server_leave_cb_func)(const NIMQChatServerLeaveResp *resp)
离开回调
Definition: nim_qchat_server_def.h:488
void(* nim_qchat_server_accept_apply_cb_func)(const NIMQChatServerAcceptApplyResp *resp)
接受申请回调
Definition: nim_qchat_server_def.h:482
NIMQChatServerInviteFailReason
Definition: nim_qchat_server_def.h:37
@ kNIMQChatServerInviteFailReasonExceedLimit
服务器人数超过限制
Definition: nim_qchat_server_def.h:39
@ kNIMQChatServerInviteFailReasonBanned
被封禁
Definition: nim_qchat_server_def.h:41
void(* nim_qchat_server_leave_as_visitor_cb_func)(const NIMQChatServerLeaveAsVisitorResp *resp)
以游客身份退出服务器回调
Definition: nim_qchat_server_def.h:522
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
NIMQChatBaseResp NIMQChatServerKickResp
Definition: nim_qchat_server_def.h:301
NIMQChatBaseResp NIMQChatServerUpdateMemberInfoResp
Definition: nim_qchat_server_def.h:307
nim_qchat_server_get_servers_page_cb_func nim_qchat_server_search_page_cb_func
搜索服务器分页回调
Definition: nim_qchat_server_def.h:504
NIMQChatServerSubscribeResp NIMQChatServerSubscribeAsVisitorResp
Definition: nim_qchat_server_def.h:458
void(* nim_qchat_server_remove_cb_func)(const NIMQChatServerDeleteResp *resp)
删除服务回调
Definition: nim_qchat_server_def.h:466
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_ban_member_cb_func)(const NIMQChatServerBanMemberResp *resp)
封禁成员回调
Definition: nim_qchat_server_def.h:498
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_apply_cb_func)(const NIMQChatServerApplyResp *resp)
申请回调
Definition: nim_qchat_server_def.h:480
NIMQChatBaseResp NIMQChatServerAcceptApplyResp
Definition: nim_qchat_server_def.h:295
void(* nim_qchat_server_reject_apply_cb_func)(const NIMQChatServerRejectApplyResp *resp)
拒绝申请回调
Definition: nim_qchat_server_def.h:484
void(* nim_qchat_server_generate_invite_code_cb_func)(const NIMQChatServerGenerateInviteCodeResp *resp)
生成邀请码回调
Definition: nim_qchat_server_def.h:508
void(* nim_qchat_server_accept_invite_cb_func)(const NIMQChatServerAcceptInviteResp *resp)
接受邀请回调
Definition: nim_qchat_server_def.h:476
NIMQChatServerGetServersPageResp NIMQChatServerSearchPageResp
Definition: nim_qchat_server_def.h:368
void(* nim_qchat_server_subscribe_all_channel_cb_func)(const NIMQChatServerSubscribeAllChannelResp *resp)
订阅所有频道
Definition: nim_qchat_server_def.h:518
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:141
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:149
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:204
Definition: nim_qchat_server_def.h:654
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:664
char * accid
申请人 id
Definition: nim_qchat_server_def.h:662
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:660
nim_qchat_server_accept_apply_cb_func cb
接受申请异步回调
Definition: nim_qchat_server_def.h:656
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:658
Definition: nim_qchat_server_def.h:610
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:620
nim_qchat_server_accept_invite_cb_func cb
接受邀请异步回调
Definition: nim_qchat_server_def.h:612
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:614
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:616
char * accid
邀请人 id
Definition: nim_qchat_server_def.h:618
Definition: nim_qchat_server_def.h:640
nim_qchat_server_apply_cb_func cb
申请加入异步回调
Definition: nim_qchat_server_def.h:642
char * postscript
附言
Definition: nim_qchat_server_def.h:650
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:644
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:646
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:648
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:768
char * accid
用户id
Definition: nim_qchat_server_def.h:776
char * custom
自定义字段
Definition: nim_qchat_server_def.h:778
nim_qchat_server_ban_member_cb_func cb
封禁成员异步回调
Definition: nim_qchat_server_def.h:770
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:774
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:772
Definition: nim_qchat_server_def.h:534
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:542
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:538
nim_qchat_server_create_cb_func cb
创建会话异步回调
Definition: nim_qchat_server_def.h:536
NIMQChatServerInfo server_info
服务器信息
Definition: nim_qchat_server_def.h:540
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:546
nim_qchat_server_remove_cb_func cb
删除会话异步回调
Definition: nim_qchat_server_def.h:548
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:552
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:550
Definition: nim_qchat_server_def.h:942
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:950
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:946
nim_qchat_server_enter_as_visitor_cb_func cb
以游客身份进入服务器异步回调
Definition: nim_qchat_server_def.h:944
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:948
Definition: nim_qchat_server_def.h:852
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:860
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:856
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:858
nim_qchat_server_generate_invite_code_cb_func cb
生成邀请码异步回调
Definition: nim_qchat_server_def.h:854
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:796
nim_qchat_server_get_banned_members_page_cb_func cb
查询封禁成员列表异步回调
Definition: nim_qchat_server_def.h:798
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:806
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:802
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:804
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:800
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:898
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:906
nim_qchat_server_get_invite_apply_record_by_self_cb_func cb
查询自己邀请申请历史异步回调
Definition: nim_qchat_server_def.h:900
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:910
bool reverse
是否倒序, false: 否, true: 是
Definition: nim_qchat_server_def.h:908
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:902
uint64_t exclude_record_id
要排除的记录id
Definition: nim_qchat_server_def.h:912
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:904
Definition: nim_qchat_server_def.h:878
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:884
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:892
bool reverse
是否倒序, false: 否, true: 是
Definition: nim_qchat_server_def.h:890
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:886
uint64_t exclude_record_id
要排除的记录id
Definition: nim_qchat_server_def.h:894
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:888
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:882
nim_qchat_server_get_invite_apply_record_of_server_cb_func cb
查询服务器下邀请申请历史异步回调
Definition: nim_qchat_server_def.h:880
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:738
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:746
nim_qchat_server_get_members_page_cb_func cb
查询成员列表异步回调
Definition: nim_qchat_server_def.h:740
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:744
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:742
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:748
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:726
nim_qchat_server_get_members_cb_func cb
查询成员列表异步回调
Definition: nim_qchat_server_def.h:728
NIMQChatServerMemberPair * server_accid_list
服务器id和accid列表
Definition: nim_qchat_server_def.h:732
size_t server_accid_list_count
服务器id和accid列表长度
Definition: nim_qchat_server_def.h:734
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:730
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:580
uint64_t timestamp
时间戳
Definition: nim_qchat_server_def.h:586
nim_qchat_server_get_servers_page_cb_func cb
查询会话列表分页异步回调
Definition: nim_qchat_server_def.h:582
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:584
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:588
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:568
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:576
nim_qchat_server_get_servers_cb_func cb
查询会话列表异步回调
Definition: nim_qchat_server_def.h:570
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:574
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:572
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:592
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:598
size_t invite_ids_count
受邀人 id 列表长度
Definition: nim_qchat_server_def.h:602
char * postscript
附言
Definition: nim_qchat_server_def.h:606
uint64_t ttl
请求生存时间 ms
Definition: nim_qchat_server_def.h:604
char ** invite_ids
受邀人 id 列表
Definition: nim_qchat_server_def.h:600
nim_qchat_server_invite_cb_func cb
邀请异步回调
Definition: nim_qchat_server_def.h:594
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:596
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:864
nim_qchat_server_join_by_invite_code_cb_func cb
通过邀请码加入异步回调
Definition: nim_qchat_server_def.h:866
char * invite_code
邀请码
Definition: nim_qchat_server_def.h:872
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:868
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:870
char * postscript
附言
Definition: nim_qchat_server_def.h:874
Definition: nim_qchat_server_def.h:684
char ** accids
被踢人 id 列表
Definition: nim_qchat_server_def.h:692
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:690
size_t accids_count
被踢人 id 列表长度
Definition: nim_qchat_server_def.h:694
nim_qchat_server_kick_cb_func cb
踢人异步回调
Definition: nim_qchat_server_def.h:686
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:688
Definition: nim_qchat_server_def.h:954
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:958
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:962
nim_qchat_server_leave_as_visitor_cb_func cb
以游客身份离开服务器异步回调
Definition: nim_qchat_server_def.h:956
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:960
Definition: nim_qchat_server_def.h:698
nim_qchat_server_leave_cb_func cb
离开异步回调
Definition: nim_qchat_server_def.h:700
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:702
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:704
Definition: nim_qchat_server_def.h:916
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:920
nim_qchat_server_mark_read_cb_func cb
标记服务器下消息已读异步回调
Definition: nim_qchat_server_def.h:918
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:924
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:922
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:720
char * accid
Definition: nim_qchat_server_def.h:722
uint64_t server_id
Definition: nim_qchat_server_def.h:721
Definition: nim_qchat_server_def.h:838
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:844
nim_qchat_server_member_search_cb_func cb
搜索异步回调
Definition: nim_qchat_server_def.h:840
char * keyword
搜索内容
Definition: nim_qchat_server_def.h:846
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:842
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:848
Definition: nim_qchat_server_def.h:528
void * user_data
Definition: nim_qchat_server_def.h:530
nim_qchat_server_unread_cb_func cb
Definition: nim_qchat_server_def.h:529
Definition: nim_qchat_server_def.h:668
char * postscript
附言
Definition: nim_qchat_server_def.h:678
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:674
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:672
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:680
char * accid
申请人 id
Definition: nim_qchat_server_def.h:676
nim_qchat_server_reject_apply_cb_func cb
拒绝申请异步回调
Definition: nim_qchat_server_def.h:670
Definition: nim_qchat_server_def.h:624
nim_qchat_server_reject_invite_cb_func cb
拒绝邀请异步回调
Definition: nim_qchat_server_def.h:626
char * postscript
附言
Definition: nim_qchat_server_def.h:634
char * accid
邀请人 id
Definition: nim_qchat_server_def.h:632
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:628
uint64_t server_id
服务器 id
Definition: nim_qchat_server_def.h:630
uint64_t request_id
请求ID
Definition: nim_qchat_server_def.h:636
Definition: nim_qchat_server_def.h:810
uint64_t start_time
起始时间
Definition: nim_qchat_server_def.h:818
uint32_t limit
查询条数
Definition: nim_qchat_server_def.h:832
NIMQChatServerSearchSort sort
排序规则
Definition: nim_qchat_server_def.h:824
char * keyword
搜索内容
Definition: nim_qchat_server_def.h:816
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:814
NIMQChatServerSearchType search_type
搜索类型
Definition: nim_qchat_server_def.h:830
char * cursor
查询游标, 查询的起始位置
Definition: nim_qchat_server_def.h:834
uint64_t end_time
结束时间
Definition: nim_qchat_server_def.h:820
size_t server_types_count
服务器类型长度
Definition: nim_qchat_server_def.h:828
uint32_t * server_types
搜索的服务器类型, 为空表示搜索所有类型
Definition: nim_qchat_server_def.h:826
NIMQChatSearchOrder order
排序顺序
Definition: nim_qchat_server_def.h:822
nim_qchat_server_search_page_cb_func cb
搜索异步回调
Definition: nim_qchat_server_def.h:812
Definition: nim_qchat_server_def.h:928
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_def.h:934
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:932
nim_qchat_server_subscribe_all_channel_cb_func cb
订阅所有频道异步回调
Definition: nim_qchat_server_def.h:930
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:936
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:938
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:966
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:976
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:970
NIMQChatSubscribeOpeType ope_type
操作类型
Definition: nim_qchat_server_def.h:972
NIMQChatSubscribeType sub_type
Definition: nim_qchat_server_def.h:979
nim_qchat_server_subscribe_as_visitor_cb_func cb
以游客身份订阅服务器异步回调
Definition: nim_qchat_server_def.h:968
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:974
Definition: nim_qchat_server_def.h:752
size_t server_ids_count
服务器 id 列表长度
Definition: nim_qchat_server_def.h:762
NIMQChatSubscribeType sub_type
订阅类型
Definition: nim_qchat_server_def.h:760
nim_qchat_server_subscribe_cb_func cb
订阅频道信息回调函数
Definition: nim_qchat_server_def.h:754
NIMQChatSubscribeOpeType ope_type
操作类型
Definition: nim_qchat_server_def.h:758
uint64_t * server_ids
服务器 id 列表
Definition: nim_qchat_server_def.h:764
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:756
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:782
uint64_t server_id
服务器ID
Definition: nim_qchat_server_def.h:788
char * custom
自定义字段
Definition: nim_qchat_server_def.h:792
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:786
char * accid
用户id
Definition: nim_qchat_server_def.h:790
nim_qchat_server_unban_member_cb_func cb
解封成员异步回调
Definition: nim_qchat_server_def.h:784
Definition: nim_qchat_public_def.h:232
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:708
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:716
NIMQChatMemberInfo member_info
成员信息
Definition: nim_qchat_server_def.h:714
nim_qchat_server_update_member_info_cb_func cb
更新成员信息异步回调
Definition: nim_qchat_server_def.h:710
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:712
Definition: nim_qchat_server_def.h:556
void * user_data
自定义用户数据
Definition: nim_qchat_server_def.h:560
nim_qchat_server_update_cb_func cb
更新会话异步回调
Definition: nim_qchat_server_def.h:558
NIMQChatBusinessAntiSpamInfo anti_spam_info
反垃圾信息
Definition: nim_qchat_server_def.h:564
NIMQChatServerInfo server_info
服务器信息
Definition: nim_qchat_server_def.h:562
Definition: nim_qchat_public_def.h:214