public class MessageBody extends AbstractModel
Constructor and Description |
---|
MessageBody() |
MessageBody(MessageBody source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFrom()
Get 发消息的用户ID
|
Message[] |
getMessages()
Get 消息列表
|
Long |
getTimestamp()
Get 消息时间戳
|
void |
setFrom(String From)
Set 发消息的用户ID
|
void |
setMessages(Message[] Messages)
Set 消息列表
|
void |
setTimestamp(Long Timestamp)
Set 消息时间戳
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public MessageBody()
public MessageBody(MessageBody source)
public Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp
- 消息时间戳public String getFrom()
public void setFrom(String From)
From
- 发消息的用户IDpublic Message[] getMessages()
public void setMessages(Message[] Messages)
Messages
- 消息列表Copyright © 2022. All rights reserved.