NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim_talkex_def_quick_comment.h
浏览该文件的文档.
1
6
#ifndef NIM_SDK_DLL_EXPORT_HEADERS_TALKEX_DEF_QUICK_COMMENT_H_
7
#define NIM_SDK_DLL_EXPORT_HEADERS_TALKEX_DEF_QUICK_COMMENT_H_
8
9
#include "
public_defines.h
"
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
21
typedef
void (*
nim_talkex_quick_comment_add_quick_comment_cb_func
)(
int
code,
const
char
* quick_comment_info,
const
void
* user_data);
22
30
typedef
void (*
nim_talkex_quick_comment_remove_quick_comment_cb_func
)(
int
code,
const
char
* id,
const
void
* user_data);
31
39
typedef
void (*
nim_talkex_quick_comment_query_quick_comment_cb_func
)(
int
code,
const
char
* response,
const
void
* user_data);
40
54
typedef
void (*
nim_talkex_quick_comment_add_quick_comment_notify_cb_func
)(
const
char
* session,
55
int
type,
56
const
char
* msg_client_id,
57
const
char
* info,
58
const
void
* user_data);
59
74
typedef
void (*
nim_talkex_quick_comment_remove_quick_comment_notify_cb_func
)(
const
char
* session,
75
int
type,
76
const
char
* msg_client_id,
77
const
char
* id,
78
const
char
* ext,
79
const
void
* user_data);
80
86
static
const
char
*
kNIMQuickCommentInfoKeyID
=
"id"
;
88
static
const
char
*
kNIMQuickCommentInfoKeyFromAccID
=
"from_account"
;
90
static
const
char
*
kNIMQuickCommentInfoKeyReplyType
=
"reply_type"
;
92
static
const
char
*
kNIMQuickCommentInfoKeyClinetID
=
"client_id"
;
94
static
const
char
*
kNIMQuickCommentInfoKeyServerID
=
"server_id"
;
96
static
const
char
*
kNIMQuickCommentInfoKeyTime
=
"time"
;
98
static
const
char
*
kNIMQuickCommentInfoKeyExt
=
"ext"
;
100
static
const
char
*
kNIMQuickCommentInfoKeyNeedPush
=
"need_push"
;
102
static
const
char
*
kNIMQuickCommentInfoKeyNeedBadge
=
"need_badge"
;
104
static
const
char
*
kNIMQuickCommentInfoKeyPushTitle
=
"push_title"
;
106
static
const
char
*
kNIMQuickCommentInfoKeyPushContent
=
"push_content"
;
108
static
const
char
*
kNIMQuickCommentInfoKeyPushPayload
=
"push_payload"
;
109
// 快捷回复Json Keys
111
116
static
const
char
*
kNIMQuickCommentRemoveParamKeyID
=
"id"
;
118
static
const
char
*
kNIMQuickCommentRemoveParamKeyReplyType
=
"reply_type"
;
120
static
const
char
*
kNIMQuickCommentRemoveParamKeyExt
=
"ext"
;
// 删除快捷回复参数Json Keys
122
127
static
const
char
*
kNIMQuickCommentQueryRSPKeyMsgClientID
=
"client_id"
;
129
static
const
char
*
kNIMQuickCommentQueryRSPKeyInfoList
=
"info_list"
;
// 查询快捷回复应答参数Json Keys
131
132
#ifdef __cplusplus
133
};
134
#endif
// __cplusplus
135
#endif
// NIM_SDK_DLL_EXPORT_HEADERS_TALKEX_DEF_QUICK_COMMENT_H_
kNIMQuickCommentRemoveParamKeyExt
static const char * kNIMQuickCommentRemoveParamKeyExt
string 取消操作的扩展字段
Definition:
nim_talkex_def_quick_comment.h:120
kNIMQuickCommentInfoKeyFromAccID
static const char * kNIMQuickCommentInfoKeyFromAccID
string回复者的 accid
Definition:
nim_talkex_def_quick_comment.h:88
kNIMQuickCommentInfoKeyExt
static const char * kNIMQuickCommentInfoKeyExt
string 自定义扩展字段,最大32字符
Definition:
nim_talkex_def_quick_comment.h:98
kNIMQuickCommentInfoKeyID
static const char * kNIMQuickCommentInfoKeyID
string 服务端没有这个字段,本地为了好处理记录加上的(message serverid + from_accid + type)
Definition:
nim_talkex_def_quick_comment.h:86
kNIMQuickCommentInfoKeyReplyType
static const char * kNIMQuickCommentInfoKeyReplyType
int64_t 开发者自定义的回复类型 不可使用0
Definition:
nim_talkex_def_quick_comment.h:90
nim_talkex_quick_comment_remove_quick_comment_notify_cb_func
void(* nim_talkex_quick_comment_remove_quick_comment_notify_cb_func)(const char *session, int type, const char *msg_client_id, const char *id, const char *ext, const void *user_data)
Definition:
nim_talkex_def_quick_comment.h:74
kNIMQuickCommentQueryRSPKeyInfoList
static const char * kNIMQuickCommentQueryRSPKeyInfoList
list 快捷回复列表
Definition:
nim_talkex_def_quick_comment.h:129
kNIMQuickCommentQueryRSPKeyMsgClientID
static const char * kNIMQuickCommentQueryRSPKeyMsgClientID
string 消息ID
Definition:
nim_talkex_def_quick_comment.h:127
kNIMQuickCommentInfoKeyNeedPush
static const char * kNIMQuickCommentInfoKeyNeedPush
int 是否需要推送,0表示不需要,1表示需要,默认0
Definition:
nim_talkex_def_quick_comment.h:100
nim_talkex_quick_comment_query_quick_comment_cb_func
void(* nim_talkex_quick_comment_query_quick_comment_cb_func)(int code, const char *response, const void *user_data)
Definition:
nim_talkex_def_quick_comment.h:39
nim_talkex_quick_comment_add_quick_comment_notify_cb_func
void(* nim_talkex_quick_comment_add_quick_comment_notify_cb_func)(const char *session, int type, const char *msg_client_id, const char *info, const void *user_data)
Definition:
nim_talkex_def_quick_comment.h:54
kNIMQuickCommentInfoKeyPushContent
static const char * kNIMQuickCommentInfoKeyPushContent
string 推送文案
Definition:
nim_talkex_def_quick_comment.h:106
kNIMQuickCommentInfoKeyClinetID
static const char * kNIMQuickCommentInfoKeyClinetID
string 被回复消息的客户端ID
Definition:
nim_talkex_def_quick_comment.h:92
nim_talkex_quick_comment_remove_quick_comment_cb_func
void(* nim_talkex_quick_comment_remove_quick_comment_cb_func)(int code, const char *id, const void *user_data)
Definition:
nim_talkex_def_quick_comment.h:30
kNIMQuickCommentInfoKeyPushPayload
static const char * kNIMQuickCommentInfoKeyPushPayload
string 推送自定义字段JSON
Definition:
nim_talkex_def_quick_comment.h:108
kNIMQuickCommentInfoKeyTime
static const char * kNIMQuickCommentInfoKeyTime
uint64_t 回复的时间戳
Definition:
nim_talkex_def_quick_comment.h:96
kNIMQuickCommentRemoveParamKeyID
static const char * kNIMQuickCommentRemoveParamKeyID
string 服务端没有这个字段,本地为了好处理记录加上的
Definition:
nim_talkex_def_quick_comment.h:116
kNIMQuickCommentInfoKeyServerID
static const char * kNIMQuickCommentInfoKeyServerID
uint64_t被回复消息的服务端ID
Definition:
nim_talkex_def_quick_comment.h:94
kNIMQuickCommentInfoKeyPushTitle
static const char * kNIMQuickCommentInfoKeyPushTitle
string 推送标题
Definition:
nim_talkex_def_quick_comment.h:104
nim_talkex_quick_comment_add_quick_comment_cb_func
void(* nim_talkex_quick_comment_add_quick_comment_cb_func)(int code, const char *quick_comment_info, const void *user_data)
Definition:
nim_talkex_def_quick_comment.h:21
kNIMQuickCommentInfoKeyNeedBadge
static const char * kNIMQuickCommentInfoKeyNeedBadge
int 是否需要角标,0表示不需要,1表示需要,默认0
Definition:
nim_talkex_def_quick_comment.h:102
kNIMQuickCommentRemoveParamKeyReplyType
static const char * kNIMQuickCommentRemoveParamKeyReplyType
int64_t 开发者自定义的回复类型
Definition:
nim_talkex_def_quick_comment.h:118
public_defines.h
NIM SDK 及 NIM ChatRoom SDK 公用头文件
include
nim_talkex_def_quick_comment.h
制作者
1.9.6