1 package com.netease.nimlib.sdk.msg.model;
9 private String sessionId;
18 this.sessionId = sessionId;
19 this.sessionType = sessionType;
32 String type =
property.get(ITalkService.SessionHistoryMsgsDeleteTag.TYPE);
35 if (
"2".equals(type)) {
37 sessionId =
property.get(ITalkService.SessionHistoryMsgsDeleteTag.TO_TID);
38 }
else if (
"3".equals(type)) {
40 sessionId =
property.get(ITalkService.SessionHistoryMsgsDeleteTag.TO_TID);
43 sessionId =
property.get(ITalkService.SessionHistoryMsgsDeleteTag.OTHER_ACCID);
45 long time =
property.getLong(ITalkService.SessionHistoryMsgsDeleteTag.TIME);
46 String ext =
property.get(ITalkService.SessionHistoryMsgsDeleteTag.EXT);
SessionTypeEnum getSessionType()
static SessionMsgDeleteOption fromProperty(Property property)
通过Property生成实例
SessionMsgDeleteOption(String sessionId, SessionTypeEnum sessionType, long time, String ext)