NIM SDK API
9.0.0
|
快捷回复属性 More...
#include <nim_talkex_helper_quick_comment.h>
Static Public Member Functions | |
static std::string | ToJsonString (const QuickCommentInfo &info) |
static void | FromJsonString (const std::string &json_info, QuickCommentInfo &info) |
static void | FromJsonObject (const nim_cpp_wrapper_util::Json::Value &json_info, QuickCommentInfo &info) |
Public Attributes | |
std::string | id |
std::string | from_account |
int64_t | reply_type |
std::string | client_id |
uint64_t | server_id |
uint64_t | time |
std::string | ext |
bool | need_push |
bool | need_badge |
std::string | push_title |
std::string | push_content |
std::string | push_payload |
快捷回复属性
std::string nim::QuickCommentInfo::client_id |
被回复消息的客户端ID
std::string nim::QuickCommentInfo::ext |
自定义扩展字段,最大8字符
std::string nim::QuickCommentInfo::from_account |
<服务端没有这个字段,本地为了好处理记录加上的(message serverid + from_accid + type)
bool nim::QuickCommentInfo::need_badge |
是否需要角标,0表示不需要,1表示需要,默认0
bool nim::QuickCommentInfo::need_push |
是否需要推送,0表示不需要,1表示需要,默认0
std::string nim::QuickCommentInfo::push_content |
推送文案
std::string nim::QuickCommentInfo::push_payload |
推送自定义字段JSON
std::string nim::QuickCommentInfo::push_title |
推送标题
int64_t nim::QuickCommentInfo::reply_type |
开发者自定义的回复类型
uint64_t nim::QuickCommentInfo::server_id |
被回复消息的服务端ID
uint64_t nim::QuickCommentInfo::time |
回复的时间戳