会话服务 会话数据定义
更多...
#include <nim_session_online_service_helper.h>
◆ SessionInfo()
nim::SessionOnLineServiceHelper::SessionInfo::SessionInfo |
( |
| ) |
|
|
inline |
◆ GetLastMessage() [1/2]
template<int type>
auto nim::SessionOnLineServiceHelper::SessionInfo::GetLastMessage |
( |
| ) |
const -> typename std::enable_if<type = |
|
pure virtual |
◆ GetLastMessage() [2/2]
template<int type>
auto nim::SessionOnLineServiceHelper::SessionInfo::GetLastMessage |
( |
| ) |
const -> typename std::enable_if<type == 1, RecallMsgNotify>::type |
|
inline |
◆ ParseReceiveMessage()
nim::SessionOnLineServiceHelper::SessionInfo::ParseReceiveMessage |
( |
last_message_ |
, |
|
|
msg |
|
|
) |
| |
◆ ext_
std::string nim::SessionOnLineServiceHelper::SessionInfo::ext_ |
◆ id_
std::string nim::SessionOnLineServiceHelper::SessionInfo::id_ |
◆ last_message_
std::string nim::SessionOnLineServiceHelper::SessionInfo::last_message_ |
◆ last_message_type_
int nim::SessionOnLineServiceHelper::SessionInfo::last_message_type_ |
最后一条消息的类型 0表示普通消息,1表示消息撤回通知
◆ msg
return nim::SessionOnLineServiceHelper::SessionInfo::msg |
◆ type_
◆ update_time_
uint64_t nim::SessionOnLineServiceHelper::SessionInfo::update_time_ {0} |
该结构体的文档由以下文件生成: