NIM SDK API  8.5.0
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
13 extern "C" {
14 #endif
15 
22 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);
23 
44 NIM_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 
72 NIM_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 
102 NIM_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);
128 NIM_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 
145 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);
146 
158 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);
159 
176 NIM_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 
202 NIM_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 
228 NIM_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 
254 NIM_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 
278 NIM_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 
301 NIM_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 
327 NIM_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 
348 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);
349 
363 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);
364 
382 NIM_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 
407 NIM_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 
421 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);
422 
431 NIM_SDK_DLL_API void nim_team_query_all_my_teams_info_async(const char* json_extension,
433  const void* user_data);
434 
444 NIM_SDK_DLL_API void nim_team_query_my_all_member_infos_async(const char* json_extension,
446  const void* user_data);
447 
465 NIM_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 
484 NIM_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 
496 NIM_SDK_DLL_API char* nim_team_query_team_member_block(const char* tid, const char* user_id);
497 
506 NIM_SDK_DLL_API void nim_team_query_team_info_async(const char* tid,
507  const char* json_extension,
509  const void* user_data);
510 
516 NIM_SDK_DLL_API char* nim_team_query_team_info_block(const char* tid);
517 
529 NIM_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 
554 NIM_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 
575 NIM_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 
591 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);
592 
608 NIM_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 
627 NIM_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 
648 NIM_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 
663 NIM_SDK_DLL_API void nim_team_query_members_invitor(const char* tid,
664  const char* members,
666  const void* user_data);
667 
681 NIM_SDK_DLL_API void nim_team_query_teams_info_by_keyword(const char* keyword,
683  const char* json_extension,
684  const void* user_data);
685 
698 NIM_SDK_DLL_API void nim_team_get_team_info_batch_sftrans(const char* json_extension,
700  uint64_t time_tag,
701  const void* user_data);
702 
711 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);
712 
723 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);
724 
725 #ifdef __cplusplus
726 };
727 #endif //__cplusplus
728 #endif // NIM_SDK_DLL_API_NIM_TEAM_H_
nim_team_mute_member_async
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_team_update_team_info_async
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_team_update_other_nick_async
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_team_query_my_all_member_infos_cb_func
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
nim_team_accept_invitation_async
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_team_query_my_all_member_infos_async
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_team_update_my_property_async
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_team_query_team_info_online_async
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_team_reject_invitation_async
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_team_query_team_info_async
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_team_query_mute_list_online_async
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_team_query_team_info_cb_func
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
nim_team_add_managers_async
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_team_transfer_team_async
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_team_update_tinfo_local_cb_func
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
nim_team_msg_query_unread_list
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_team_def.h
群组 接口相关的常量函数等定义头文件
nim_team_query_team_member_async
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_team_get_team_info_batch_sftrans
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_team_msg_ack_read_ex
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_team_query_members_invitor
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_team_reject_join_apply_async
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_team_query_members_invitor_cb_func
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
nim_team_apply_join_async
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_team_query_team_member_cb_func
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
nim_team_invite_async2
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_team_get_team_info_list_cb_func
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
nim_team_create_team_async
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_team_kick_async
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_team_query_team_members_cb_func
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
nim_team_query_team_member_block
NIM_SDK_DLL_API char * nim_team_query_team_member_block(const char *tid, const char *user_id)
nim_team_query_team_info_block
NIM_SDK_DLL_API char * nim_team_query_team_info_block(const char *tid)
nim_team_leave_async
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_team_opt_cb_func
nim_team_event_cb_func nim_team_opt_cb_func
Definition: nim_team_def.h:53
nim_team_query_all_my_teams_info_cb_func
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
nim_team_query_all_my_teams_info_async
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_team_query_team_members_async
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)
nim_team_query_mute_list_cb_func
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
nim_team_mute_async
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_team_pass_join_apply_async
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_team_msg_ack_read
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_team_invite_async
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_team_query_teams_info_by_keyword
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_team_query_all_my_teams_async
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_team_dismiss_async
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_team_query_all_my_teams_cb_func
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
nim_team_msg_ack_read_ex_cb_func
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_remove_managers_async
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_team_update_tinfo_local
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_team_get_team_info_list
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_team_reg_team_event_cb
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_team_event_cb_func
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