Package com.bytedesk.core.message
Class MessageResponse
java.lang.Object
com.bytedesk.core.base.BaseResponse
com.bytedesk.core.message.MessageResponse
- All Implemented Interfaces:
Serializable
response for visitor init/request thread
distinguish visitor message from agent view
区分 访客端拉取的消息格式 和 客服端拉取到的消息格式
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
private String
private String
private static final long
private String
private ThreadResponse
private String
private UserProtobuf
Fields inherited from class com.bytedesk.core.base.BaseResponse
createdAt, uid, updatedAt
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseResponse
getCreatedAt, getUpdatedAt, toJson
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
type
-
-
status
-
client
-
thread
-
user
-
extra
-
-
Constructor Details
-
MessageResponse
public MessageResponse()
-
-
Method Details
-
isRobot
public boolean isRobot() -
isVisitor
public boolean isVisitor() -
isSystem
public boolean isSystem() -
getTimestamp
-