public class ExpansionModel extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
Integer |
conversationType
会话类型,二人会话是 1 、群组会话是 3,只支持单聊、群组会话类型。
|
String |
msgUID
消息唯一标识 ID,服务端可通过全量消息路由功能获取。
|
String |
userId
需要设置扩展的消息发送用户 Id。
|
| 构造器和说明 |
|---|
ExpansionModel() |
ExpansionModel(String msgUID,
Integer conversationType,
String userId,
String targetId) |
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
getConversationType() |
Set |
getExtraKey() |
HashMap<String,String> |
getExtraKeyVal() |
String |
getMsgUID() |
String |
getTargetId() |
String |
getUserId() |
void |
setConversationType(Integer conversationType) |
void |
setExtraKey(Set extraKey) |
void |
setExtraKeyVal(HashMap<String,String> extraKeyVal) |
void |
setMsgUID(String msgUID) |
void |
setTargetId(String targetId) |
void |
setUserId(String userId) |
String |
toString() |
public String msgUID
public String userId
public Integer conversationType
public String getMsgUID()
public void setMsgUID(String msgUID)
public String getUserId()
public void setUserId(String userId)
public Integer getConversationType()
public void setConversationType(Integer conversationType)
public String getTargetId()
public void setTargetId(String targetId)
public Set getExtraKey()
public void setExtraKey(Set extraKey)
Copyright © 2022 RcongCloud Group. All rights reserved.