NIM PC Cross Platform SDK
nim_team.h
Go to the documentation of this file.
1
7#ifndef NIM_SDK_DLL_API_NIM_TEAM_H_
8#define NIM_SDK_DLL_API_NIM_TEAM_H_
9
10#include "nim_team_def.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
22NIM_SDK_DLL_API void nim_team_reg_team_event_cb(const char* json_extension, nim_team_event_cb_func cb, const void* user_data);
23
44NIM_SDK_DLL_API void nim_team_create_team_async(const char* team_info,
45 const char* jsonlist_uids,
46 const char* invitation_postscript,
47 const char* json_extension,
49 const void* user_data);
50
72NIM_SDK_DLL_API void nim_team_invite_async(const char* tid,
73 const char* jsonlist_uids,
74 const char* invitation_postscript,
75 const char* json_extension,
77 const void* user_data);
78
102NIM_SDK_DLL_API void nim_team_invite_async2(const char* tid,
103 const char* jsonlist_uids,
104 const char* invitation_postscript,
105 const char* invitation_attachment,
106 const char* json_extension,
108 const void* user_data);
128NIM_SDK_DLL_API void nim_team_kick_async(const char* tid,
129 const char* jsonlist_uids,
130 const char* json_extension,
132 const void* user_data);
133
145NIM_SDK_DLL_API void nim_team_leave_async(const char* tid, const char* json_extension, nim_team_opt_cb_func cb, const void* user_data);
146
158NIM_SDK_DLL_API void nim_team_dismiss_async(const char* tid, const char* json_extension, nim_team_opt_cb_func cb, const void* user_data);
159
176NIM_SDK_DLL_API void nim_team_update_team_info_async(const char* tid,
177 const char* json_info,
178 const char* json_extension,
180 const void* user_data);
181
202NIM_SDK_DLL_API void nim_team_apply_join_async(const char* tid,
203 const char* reason,
204 const char* json_extension,
206 const void* user_data);
207
228NIM_SDK_DLL_API void nim_team_pass_join_apply_async(const char* tid,
229 const char* applicant_id,
230 const char* json_extension,
232 const void* user_data);
233
254NIM_SDK_DLL_API void nim_team_reject_join_apply_async(const char* tid,
255 const char* applicant_id,
256 const char* reason,
257 const char* json_extension,
259 const void* user_data);
260
278NIM_SDK_DLL_API void nim_team_add_managers_async(const char* tid,
279 const char* jsonlist_admin_ids,
280 const char* json_extension,
282 const void* user_data);
283
301NIM_SDK_DLL_API void nim_team_remove_managers_async(const char* tid,
302 const char* jsonlist_admin_ids,
303 const char* json_extension,
305 const void* user_data);
306
327NIM_SDK_DLL_API void nim_team_transfer_team_async(const char* tid,
328 const char* new_owner,
329 bool is_leave,
330 const char* json_extension,
332 const void* user_data);
333
348NIM_SDK_DLL_API void nim_team_update_my_property_async(const char* info, const char* json_extension, nim_team_opt_cb_func cb, const void* user_data);
349
363NIM_SDK_DLL_API void nim_team_update_other_nick_async(const char* info, const char* json_extension, nim_team_opt_cb_func cb, const void* user_data);
364
382NIM_SDK_DLL_API void nim_team_accept_invitation_async(const char* tid,
383 const char* invitor,
384 const char* json_extension,
386 const void* user_data);
387
407NIM_SDK_DLL_API void nim_team_reject_invitation_async(const char* tid,
408 const char* invitor,
409 const char* reason,
410 const char* json_extension,
412 const void* user_data);
413
421NIM_SDK_DLL_API void nim_team_query_all_my_teams_async(const char* json_extension, nim_team_query_all_my_teams_cb_func cb, const void* user_data);
422
431NIM_SDK_DLL_API void nim_team_query_all_my_teams_info_async(const char* json_extension,
433 const void* user_data);
434
444NIM_SDK_DLL_API void nim_team_query_my_all_member_infos_async(const char* json_extension,
446 const void* user_data);
447
465NIM_SDK_DLL_API void nim_team_query_team_members_async(const char* tid,
466 bool include_user_info,
467 const char* json_extension,
469 const void* user_data);
470
484NIM_SDK_DLL_API void nim_team_query_team_member_async(const char* tid,
485 const char* user_id,
486 const char* json_extension,
488 const void* user_data);
489
496NIM_SDK_DLL_API char* nim_team_query_team_member_block(const char* tid, const char* user_id);
497
506NIM_SDK_DLL_API void nim_team_query_team_info_async(const char* tid,
507 const char* json_extension,
509 const void* user_data);
510
516NIM_SDK_DLL_API char* nim_team_query_team_info_block(const char* tid);
517
529NIM_SDK_DLL_API void nim_team_query_team_info_online_async(const char* tid,
530 const char* json_extension,
532 const void* user_data);
533
554NIM_SDK_DLL_API void nim_team_mute_member_async(const char* tid,
555 const char* member_id,
556 bool set_mute,
557 const char* json_extension,
559 const void* user_data);
560
575NIM_SDK_DLL_API void nim_team_query_mute_list_online_async(const char* tid,
576 const char* json_extension,
578 const void* user_data);
579
591NIM_SDK_DLL_API void nim_team_mute_async(const char* tid, bool set_mute, const char* json_extension, nim_team_opt_cb_func cb, const void* user_data);
592
608NIM_SDK_DLL_API void nim_team_msg_ack_read(const char* tid,
609 const char* json_msgs,
610 const char* json_extension,
612 const void* user_data);
613
627NIM_SDK_DLL_API void nim_team_msg_ack_read_ex(const char* tid,
628 const char* json_msgs,
629 const char* json_extension,
631 const void* user_data);
632
648NIM_SDK_DLL_API void nim_team_msg_query_unread_list(const char* tid,
649 const char* json_msg,
650 const char* json_extension,
652 const void* user_data);
653
663NIM_SDK_DLL_API void nim_team_query_members_invitor(const char* tid,
664 const char* members,
666 const void* user_data);
667
680NIM_SDK_DLL_API void nim_team_query_teams_info_by_keyword(const char* keyword,
682 const char* json_extension,
683 const void* user_data);
684
697NIM_SDK_DLL_API void nim_team_get_team_info_batch_sftrans(const char* json_extension,
699 uint64_t time_tag,
700 const void* user_data);
701
710NIM_SDK_DLL_API void nim_team_update_tinfo_local(const char* json_info_list, nim_team_update_tinfo_local_cb_func cb_func, const void* user_data);
711
722NIM_SDK_DLL_API void nim_team_get_team_info_list(const char* tid_list, nim_team_get_team_info_list_cb_func cb, const void* user_data);
723
724#ifdef __cplusplus
725};
726#endif //__cplusplus
727#endif // NIM_SDK_DLL_API_NIM_TEAM_H_
NIM_SDK_DLL_API void nim_team_query_team_info_async(const char *tid, const char *json_extension, nim_team_query_team_info_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_msg_ack_read(const char *tid, const char *json_msgs, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_reg_team_event_cb(const char *json_extension, nim_team_event_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_query_all_my_teams_info_async(const char *json_extension, nim_team_query_all_my_teams_info_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_update_my_property_async(const char *info, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_mute_member_async(const char *tid, const char *member_id, bool set_mute, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_leave_async(const char *tid, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_create_team_async(const char *team_info, const char *jsonlist_uids, const char *invitation_postscript, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_get_team_info_list(const char *tid_list, nim_team_get_team_info_list_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_query_mute_list_online_async(const char *tid, const char *json_extension, nim_team_query_mute_list_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_update_team_info_async(const char *tid, const char *json_info, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_add_managers_async(const char *tid, const char *jsonlist_admin_ids, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_msg_ack_read_ex(const char *tid, const char *json_msgs, const char *json_extension, nim_team_msg_ack_read_ex_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_query_members_invitor(const char *tid, const char *members, nim_team_query_members_invitor_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_pass_join_apply_async(const char *tid, const char *applicant_id, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_msg_query_unread_list(const char *tid, const char *json_msg, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_query_my_all_member_infos_async(const char *json_extension, nim_team_query_my_all_member_infos_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_accept_invitation_async(const char *tid, const char *invitor, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_transfer_team_async(const char *tid, const char *new_owner, bool is_leave, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_remove_managers_async(const char *tid, const char *jsonlist_admin_ids, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_kick_async(const char *tid, const char *jsonlist_uids, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API char * nim_team_query_team_info_block(const char *tid)
NIM_SDK_DLL_API void nim_team_reject_join_apply_async(const char *tid, const char *applicant_id, const char *reason, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_get_team_info_batch_sftrans(const char *json_extension, nim_team_query_all_my_teams_info_cb_func cb, uint64_t time_tag, const void *user_data)
NIM_SDK_DLL_API void nim_team_query_teams_info_by_keyword(const char *keyword, nim_team_query_all_my_teams_cb_func cb, const char *json_extension, const void *user_data)
NIM_SDK_DLL_API char * nim_team_query_team_member_block(const char *tid, const char *user_id)
NIM_SDK_DLL_API void nim_team_update_tinfo_local(const char *json_info_list, nim_team_update_tinfo_local_cb_func cb_func, const void *user_data)
NIM_SDK_DLL_API void nim_team_mute_async(const char *tid, bool set_mute, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_invite_async2(const char *tid, const char *jsonlist_uids, const char *invitation_postscript, const char *invitation_attachment, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_invite_async(const char *tid, const char *jsonlist_uids, const char *invitation_postscript, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_update_other_nick_async(const char *info, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_apply_join_async(const char *tid, const char *reason, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_query_team_info_online_async(const char *tid, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_dismiss_async(const char *tid, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_reject_invitation_async(const char *tid, const char *invitor, const char *reason, const char *json_extension, nim_team_opt_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_query_all_my_teams_async(const char *json_extension, nim_team_query_all_my_teams_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_query_team_member_async(const char *tid, const char *user_id, const char *json_extension, nim_team_query_team_member_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_team_query_team_members_async(const char *tid, bool include_user_info, const char *json_extension, nim_team_query_team_members_cb_func cb, const void *user_data)
群组 接口相关的常量函数等定义头文件
void(* nim_team_query_team_member_cb_func)(const char *tid, const char *user_id, const char *result, const char *json_extension, const void *user_data)
Definition: nim_team_def.h:124
void(* nim_team_query_team_info_cb_func)(const char *tid, const char *result, const char *json_extension, const void *user_data)
Definition: nim_team_def.h:134
void(* nim_team_query_all_my_teams_cb_func)(int team_count, const char *result, const char *json_extension, const void *user_data)
Definition: nim_team_def.h:63
void(* nim_team_get_team_info_list_cb_func)(int code, const char *tinfo_list, const char *fail_tid_list, const void *user_data)
Definition: nim_team_def.h:83
void(* nim_team_query_mute_list_cb_func)(int res_code, int member_count, const char *tid, const char *result, const char *json_extension, const void *user_data)
Definition: nim_team_def.h:147
void(* nim_team_query_team_members_cb_func)(const char *tid, int member_count, bool include_user_info, const char *result, const char *json_extension, const void *user_data)
Definition: nim_team_def.h:106
void(* nim_team_query_members_invitor_cb_func)(int res_code, const char *tid, const char *result, const void *user_data)
Definition: nim_team_def.h:162
void(* nim_team_query_all_my_teams_info_cb_func)(int team_count, const char *result, const char *json_extension, const void *user_data)
Definition: nim_team_def.h:73
void(* nim_team_update_tinfo_local_cb_func)(const char *success_ids, const char *failure_ids, const void *user_data)
Definition: nim_team_def.h:171
void(* nim_team_msg_ack_read_ex_cb_func)(const char *tid, const char *success_ids, const char *failure_ids, const char *ignored_ids, const void *user_data)
Definition: nim_team_def.h:44
nim_team_event_cb_func nim_team_opt_cb_func
Definition: nim_team_def.h:53
void(* nim_team_query_my_all_member_infos_cb_func)(int team_count, const char *result, const char *json_extension, const void *user_data)
Definition: nim_team_def.h:93
void(* nim_team_event_cb_func)(int res_code, int notification_id, const char *tid, const char *result, const char *json_extension, const void *user_data)
Definition: nim_team_def.h:27