NIM SDK API  9.0.0
Static Public Member Functions | Public Attributes | List of all members
nim::QuickCommentInfo Struct Reference

快捷回复属性 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
 

Detailed Description

快捷回复属性

Member Data Documentation

◆ client_id

std::string nim::QuickCommentInfo::client_id

被回复消息的客户端ID

◆ ext

std::string nim::QuickCommentInfo::ext

自定义扩展字段,最大8字符

◆ from_account

std::string nim::QuickCommentInfo::from_account

<服务端没有这个字段,本地为了好处理记录加上的(message serverid + from_accid + type)

◆ need_badge

bool nim::QuickCommentInfo::need_badge

是否需要角标,0表示不需要,1表示需要,默认0

◆ need_push

bool nim::QuickCommentInfo::need_push

是否需要推送,0表示不需要,1表示需要,默认0

◆ push_content

std::string nim::QuickCommentInfo::push_content

推送文案

◆ push_payload

std::string nim::QuickCommentInfo::push_payload

推送自定义字段JSON

◆ push_title

std::string nim::QuickCommentInfo::push_title

推送标题

◆ reply_type

int64_t nim::QuickCommentInfo::reply_type

开发者自定义的回复类型

◆ server_id

uint64_t nim::QuickCommentInfo::server_id

被回复消息的服务端ID

◆ time

uint64_t nim::QuickCommentInfo::time

回复的时间戳


The documentation for this struct was generated from the following file: