NIM Unity SDK  V2.4.2
Public 成员函数 | 属性 | 所有成员列表
NIM.Session.SessionInfo类 参考
类 NIM.Session.SessionInfo 继承关系图:
NimUtility.NimJsonObject< SessionInfo >

Public 成员函数

void ParseAttachmentInfo ()
 
- Public 成员函数 继承自 NimUtility.NimJsonObject< SessionInfo >
virtual string Serialize ()
 
virtual string SerializeWithIndented ()
 

属性

string Id [get, set]
 会话ID 更多...
 
Session.NIMSessionType SessionType [get, set]
 会话类型 更多...
 
int UnreadCount [get, set]
 当前会话消息未读数 更多...
 
NIMSessionCommand Command [get, set]
 会话修改命令 更多...
 
string MsgId [get, set]
 当前会话最新一条消息ID 更多...
 
string Sender [get, set]
 当前会话最新一条消息发送方ID 更多...
 
long Timetag [get, set]
 当前会话最新一条消息时间戳(毫秒) 更多...
 
NIMMessageType MsgType [get, set]
 当前会话最新一条消息类型 更多...
 
string Content [get, set]
 当前会话最新一条消息内容 更多...
 
object Attachment [get, set]
 
Messagelog.NIMMsgLogStatus Status [get, set]
 当前会话最新一条消息状态 更多...
 
Messagelog.NIMMsgLogSubStatus SubStatus [get, set]
 当前会话最新一条消息子状态 更多...
 
bool IsLast [get, set]
 (批量)消息变更或增加时是否是最后一条变更的信息 更多...
 
bool IsPinnedOnTop [get, set]
 是否置顶 更多...
 
string ExtendString [get, set]
 本地扩展字段, 限4096 更多...
 
bool IsRobot [get, set]
 是否为机器人会话 更多...
 
- 属性 继承自 NimUtility.NimJsonObject< SessionInfo >
virtual bool IgnoreDefauleValue [get, set]
 
string JSON [get, set]
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 NimUtility.NimJsonObject< SessionInfo >
static T Deserialize (string json)
 

属性说明

◆ Id

string NIM.Session.SessionInfo.Id
getset

会话ID

◆ SessionType

Session.NIMSessionType NIM.Session.SessionInfo.SessionType
getset

会话类型

◆ UnreadCount

int NIM.Session.SessionInfo.UnreadCount
getset

当前会话消息未读数

◆ Command

NIMSessionCommand NIM.Session.SessionInfo.Command
getset

会话修改命令

◆ MsgId

string NIM.Session.SessionInfo.MsgId
getset

当前会话最新一条消息ID

◆ Sender

string NIM.Session.SessionInfo.Sender
getset

当前会话最新一条消息发送方ID

◆ Timetag

long NIM.Session.SessionInfo.Timetag
getset

当前会话最新一条消息时间戳(毫秒)

◆ MsgType

NIMMessageType NIM.Session.SessionInfo.MsgType
getset

当前会话最新一条消息类型

◆ Content

string NIM.Session.SessionInfo.Content
getset

当前会话最新一条消息内容

◆ Status

Messagelog.NIMMsgLogStatus NIM.Session.SessionInfo.Status
getset

当前会话最新一条消息状态

◆ SubStatus

Messagelog.NIMMsgLogSubStatus NIM.Session.SessionInfo.SubStatus
getset

当前会话最新一条消息子状态

◆ IsLast

bool NIM.Session.SessionInfo.IsLast
getset

(批量)消息变更或增加时是否是最后一条变更的信息

◆ IsPinnedOnTop

bool NIM.Session.SessionInfo.IsPinnedOnTop
getset

是否置顶

◆ ExtendString

string NIM.Session.SessionInfo.ExtendString
getset

本地扩展字段, 限4096

◆ IsRobot

bool NIM.Session.SessionInfo.IsRobot
getset

是否为机器人会话


该类的文档由以下文件生成: