init
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
package com.tailbet.model.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* OpenIM回调消息体
|
||||
*/
|
||||
@Data
|
||||
public class OpenIMCallbackDTO {
|
||||
/**
|
||||
* 消息ID
|
||||
*/
|
||||
private String msgId;
|
||||
|
||||
/**
|
||||
* 发送者用户ID
|
||||
*/
|
||||
private String sendId;
|
||||
|
||||
/**
|
||||
* 接收者ID(群ID或用户ID)
|
||||
*/
|
||||
private String recvId;
|
||||
|
||||
/**
|
||||
* 消息内容
|
||||
*/
|
||||
private String content;
|
||||
|
||||
/**
|
||||
* 消息类型: text, custom, etc
|
||||
*/
|
||||
private String msgType;
|
||||
|
||||
/**
|
||||
* 会话类型: 1-单聊, 2-群聊
|
||||
*/
|
||||
private Integer sessionType;
|
||||
|
||||
/**
|
||||
* 群ID(群聊时)
|
||||
*/
|
||||
private String groupId;
|
||||
|
||||
/**
|
||||
* 客户端平台
|
||||
*/
|
||||
private String platform;
|
||||
}
|
||||
Reference in New Issue
Block a user