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

波特机器人消息附件 More...

#include <nim_talk_helper.h>

Public Member Functions

 IMBotRobot ()
 
std::string ToJsonString () const
 组装Json Value字符串 More...
 

Public Attributes

bool out_msg_
 
std::string robot_accid_
 
nim_cpp_wrapper_util::Json::Value sent_param_
 
std::string related_msg_id_
 
std::string robot_msg_flag_
 
nim_cpp_wrapper_util::Json::Value robot_msg_content_
 

Detailed Description

波特机器人消息附件

Constructor & Destructor Documentation

◆ IMBotRobot()

nim::IMBotRobot::IMBotRobot ( )
inline

构造函数

Member Function Documentation

◆ ToJsonString()

std::string nim::IMBotRobot::ToJsonString ( ) const
inline

组装Json Value字符串

Returns
string Json Value字符串

Member Data Documentation

◆ out_msg_

bool nim::IMBotRobot::out_msg_

是否为机器人回复,是:true,不是:false,默认false

◆ related_msg_id_

std::string nim::IMBotRobot::related_msg_id_

机器人回复时带的字段,表示该条回复相关联的消息ID

◆ robot_accid_

std::string nim::IMBotRobot::robot_accid_

机器人云信ID

◆ robot_msg_content_

nim_cpp_wrapper_util::Json::Value nim::IMBotRobot::robot_msg_content_

机器人回复时带的字段,表示该条回复内容,字段内容定义可见Demo源码或参考波特开发文档

◆ robot_msg_flag_

std::string nim::IMBotRobot::robot_msg_flag_

机器人回复时带的字段,表示该条回复类型,类型定义可见Demo源码或参考波特开发文档

◆ sent_param_

nim_cpp_wrapper_util::Json::Value nim::IMBotRobot::sent_param_

给机器人发送时需要填的字段,字段内容定义可见Demo源码或参考波特开发文档


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