聊天室消息
More...
#include <nim_chatroom_helper.h>
◆ ChatRoomMessage()
nim_chatroom::ChatRoomMessage::ChatRoomMessage |
( |
| ) |
|
|
inline |
◆ ParseFromJsonValue()
void nim_chatroom::ChatRoomMessage::ParseFromJsonValue |
( |
const nim_cpp_wrapper_util::Json::Value & |
values | ) |
|
|
inline |
从JsonValue中解析得到聊天室消息
- Parameters
-
- Returns
- void
◆ ToJsonString()
std::string nim_chatroom::ChatRoomMessage::ToJsonString |
( |
| ) |
const |
|
inline |
组装Json Value字符串
- Returns
- string Json Value字符串
◆ anti_spam_res_
std::string nim_chatroom::ChatRoomMessage::anti_spam_res_ |
◆ client_msg_id_
std::string nim_chatroom::ChatRoomMessage::client_msg_id_ |
◆ from_avatar_
std::string nim_chatroom::ChatRoomMessage::from_avatar_ |
◆ from_client_type_
NIMChatRoomClientType nim_chatroom::ChatRoomMessage::from_client_type_ |
消息发送方客户端类型,服务器填写,发送方不需要填写
◆ from_ext_
std::string nim_chatroom::ChatRoomMessage::from_ext_ |
◆ from_id_
std::string nim_chatroom::ChatRoomMessage::from_id_ |
◆ from_nick_
std::string nim_chatroom::ChatRoomMessage::from_nick_ |
◆ local_res_id_
std::string nim_chatroom::ChatRoomMessage::local_res_id_ |
◆ local_res_path_
std::string nim_chatroom::ChatRoomMessage::local_res_path_ |
◆ msg_attach_
std::string nim_chatroom::ChatRoomMessage::msg_attach_ |
消息内容,长度限制2048,json结构, 文本消息和其他消息保持一致
◆ msg_body_
std::string nim_chatroom::ChatRoomMessage::msg_body_ |
◆ msg_setting_
◆ msg_type_
NIMChatRoomMsgType nim_chatroom::ChatRoomMessage::msg_type_ |
◆ notify_tags_
std::string nim_chatroom::ChatRoomMessage::notify_tags_ |
对端发送消息或通知时携带的 notify tags 信息
◆ room_id_
int64_t nim_chatroom::ChatRoomMessage::room_id_ |
消息所属的聊天室id,服务器填写,发送方不需要填写
◆ sub_type_
int32_t nim_chatroom::ChatRoomMessage::sub_type_ |
◆ third_party_callback_ext_
std::string nim_chatroom::ChatRoomMessage::third_party_callback_ext_ |
◆ timetag_
int64_t nim_chatroom::ChatRoomMessage::timetag_ |
消息发送的时间戳(毫秒),服务器填写,发送方不需要填写
The documentation for this struct was generated from the following file: