|
NIM PC Cross Platform SDK
|
会话服务 会话数据定义 More...
#include <nim_session_online_service_helper.h>
Public Member Functions | |
| template<int type> | |
| auto | GetLastMessage () const -> typename std::enable_if< type==0 |
| ParseReceiveMessage (last_message_, msg) | |
| template<int type> | |
| auto | GetLastMessage () const -> typename std::enable_if< type==1, RecallMsgNotify >::type |
Public Attributes | |
| std::string | id_ |
| 会话ID | |
| NIMSessionType | type_ |
| 会话类型 | |
| std::string | ext_ |
| 自定的扩展字段 | |
| std::string | last_message_ |
| 最后一条会话 json string | |
| uint64_t | update_time_ |
| 最后更新时间戳 | |
| int | last_message_type_ |
| 最后一条消息的类型 0表示普通消息,1表示消息撤回通知 | |
| return | msg |
会话服务 会话数据定义