NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim_talk.h
浏览该文件的文档.
1
8#ifndef NIM_SDK_DLL_API_NIM_TALK_H_
9#define NIM_SDK_DLL_API_NIM_TALK_H_
10
11#include "nim_nos_def.h"
12#include "nim_session_def.h"
13#include "nim_talk_def.h"
14
15#ifdef __cplusplus
16extern "C" {
17#endif
27NIM_SDK_DLL_API void nim_talk_send_msg(const char* json_msg,
28 const char* json_extension,
30 const void* prg_user_data);
31
38NIM_SDK_DLL_API void nim_talk_stop_send_msg(const char* json_msg, const char* json_extension);
39
57NIM_SDK_DLL_API void nim_talk_reg_ack_cb(const char* json_extension, nim_talk_ack_cb_func cb, const void* user_data);
58
69NIM_SDK_DLL_API void nim_talk_reg_receive_cb(const char* json_extension, nim_talk_receive_cb_func cb, const void* user_data);
70
80NIM_SDK_DLL_API void nim_talk_reg_receive_msgs_cb(const char* json_extension, nim_talk_receive_cb_func cb, const void* user_data);
81
91 const void* user_data);
92
100NIM_SDK_DLL_API void nim_talk_reg_message_filter_cb(const char* json_extension, nim_talk_message_filter_func cb, const void* user_data);
101
117NIM_SDK_DLL_API char* nim_talk_create_retweet_msg(const char* src_msg_json,
118 const char* client_msg_id,
119 enum NIMSessionType retweet_to_session_type,
120 const char* retweet_to_session_id,
121 const char* msg_setting,
122 int64_t timetag);
123
142NIM_SDK_DLL_API void nim_talk_recall_msg(const char* json_msg,
143 const char* notify,
144 const char* json_extension,
146 const void* user_data);
147
170NIM_SDK_DLL_API void nim_talk_recall_msg2(const char* json_msg,
171 const char* notify,
172 const char* apnstext,
173 const char* pushpayload,
174 const char* json_extension,
176 const void* user_data);
177
196NIM_SDK_DLL_API void nim_talk_recall_msg_ex(const char* json_msg,
197 const char* notify,
199 nim_talk_recall_extra_params& extra_params,
200 const void* user_data);
201
210NIM_SDK_DLL_API void nim_talk_reg_recall_msg_cb(const char* json_extension, nim_talk_recall_msg_func cb, const void* user_data);
211
218
229NIM_SDK_DLL_API void nim_talk_reg_receive_broadcast_cb(const char* json_extension, nim_talk_receive_broadcast_cb_func cb, const void* user_data);
230
240NIM_SDK_DLL_API void nim_talk_reg_receive_broadcast_msgs_cb(const char* json_extension, nim_talk_receive_broadcast_cb_func cb, const void* user_data);
241
256NIM_SDK_DLL_API void nim_talk_reply_msg(const char* json_msg,
257 const char* json_reply_msg,
258 const char* json_extension,
260 const void* prg_user_data);
261#ifdef __cplusplus
262};
263#endif //__cplusplus
264#endif // NIM_SDK_DLL_API_NIM_TALK_H_
#define NIM_SDK_DLL_API
Definition: nim_build_config.h:14
NOS云存储服务 接口相关的常量函数等定义头文件
void(* nim_nos_upload_prg_cb_func)(int64_t uploaded_size, int64_t file_size, const char *json_extension, const void *user_data)
Definition: nim_nos_def.h:116
最近会话列表 接口相关的常量函数等定义头文件
NIMSessionType
Definition: nim_session_def.h:16
NIM_SDK_DLL_API void nim_talk_reply_msg(const char *json_msg, const char *json_reply_msg, const char *json_extension, nim_nos_upload_prg_cb_func prg_cb, const void *prg_user_data)
NIM_SDK_DLL_API void nim_talk_reg_ack_cb(const char *json_extension, nim_talk_ack_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_talk_recall_msg_ex(const char *json_msg, const char *notify, nim_talk_recall_msg_func cb, nim_talk_recall_extra_params &extra_params, const void *user_data)
NIM_SDK_DLL_API void nim_talk_reg_recall_msg_cb(const char *json_extension, nim_talk_recall_msg_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_talk_recall_msg(const char *json_msg, const char *notify, const char *json_extension, nim_talk_recall_msg_func cb, const void *user_data)
NIM_SDK_DLL_API char * nim_talk_get_attachment_path_from_msg(const char *json_msg)
NIM_SDK_DLL_API void nim_talk_reg_receive_msgs_cb(const char *json_extension, nim_talk_receive_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_talk_reg_receive_broadcast_msgs_cb(const char *json_extension, nim_talk_receive_broadcast_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_talk_reg_receive_broadcast_cb(const char *json_extension, nim_talk_receive_broadcast_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_talk_recall_msg2(const char *json_msg, const char *notify, const char *apnstext, const char *pushpayload, const char *json_extension, nim_talk_recall_msg_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_talk_stop_send_msg(const char *json_msg, const char *json_extension)
NIM_SDK_DLL_API void nim_talk_reg_message_filter_cb(const char *json_extension, nim_talk_message_filter_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_talk_reg_receive_cb(const char *json_extension, nim_talk_receive_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_talk_reg_notification_filter_cb(const char *json_extension, nim_talk_team_notification_filter_func cb, const void *user_data)
NIM_SDK_DLL_API char * nim_talk_create_retweet_msg(const char *src_msg_json, const char *client_msg_id, enum NIMSessionType retweet_to_session_type, const char *retweet_to_session_id, const char *msg_setting, int64_t timetag)
NIM_SDK_DLL_API void nim_talk_send_msg(const char *json_msg, const char *json_extension, nim_nos_upload_prg_cb_func prg_cb, const void *prg_user_data)
P2P和群组聊天 接口相关的常量函数等定义头文件
bool(* nim_talk_team_notification_filter_func)(const char *content, const char *json_extension, const void *user_data)
Definition: nim_talk_def.h:39
bool(* nim_talk_message_filter_func)(const char *content, const char *json_extension, const void *user_data)
Definition: nim_talk_def.h:48
void(* nim_talk_ack_cb_func)(const char *result, const void *user_data)
Definition: nim_talk_def.h:21
void(* nim_talk_receive_broadcast_cb_func)(const char *content, const char *json_extension, const void *user_data)
Definition: nim_talk_def.h:67
void(* nim_talk_receive_cb_func)(const char *content, const char *json_extension, const void *user_data)
Definition: nim_talk_def.h:30
void(* nim_talk_recall_msg_func)(int rescode, const char *content, const char *json_extension, const void *user_data)
Definition: nim_talk_def.h:58
Definition: nim_talk_def.h:72