guohongjin
2024-05-15 5b7639f0bd9e056738ec15100ed0532e965c6cd5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package cn.stylefeng.roses.kernel.im.api.pojo;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
@Data
@ApiModel(value = "全量消息路由DTO")
public class ImMessageRoutingDTO {
  
    @ApiModelProperty(value = "发送用户 ID")  
    private String fromUserId;  
  
    @ApiModelProperty(value = "目标 ID")  
    private String toUserId;  
  
    @ApiModelProperty(value = "消息类型")  
    private String objectName;  
  
    @ApiModelProperty(value = "发送的消息内容")  
    private String content;  
  
    @ApiModelProperty(value = "会话类型")  
    private String channelType;  
  
    @ApiModelProperty(value = "服务端收到客户端发送消息时的服务器时间(1970年到现在的毫秒数)")  
    private String msgTimestamp;  
  
    @ApiModelProperty(value = "可通过 msgUID 确定消息唯一")  
    private String msgUID;  
  
    @ApiModelProperty(value = "原始消息 ID,仅针对超级群会话有效。在修改消息、扩展消息、删除消息时,此字段携带有效值。可通过此字段查询原始消息内容。修改超级群消息后,如果需要在服务端撤回消息,必须使用该 ID")  
    private String originalMsgUID;  
  
    @ApiModelProperty(value = "消息中是否含有敏感信息。0 为不包含,1 为含有屏蔽敏感词,2 为含有替换敏感词")  
    private int sensitiveType;  
  
    @ApiModelProperty(value = "标识消息的发送源头")  
    private String source;  
  
    @ApiModelProperty(value = "会话频道 ID,使用超级群频道功能时,可通过 buschannel 获取频道 ID,未使用时该内容为空")  
    private String busChannel;  
  
    @ApiModelProperty(value = "接收群定向消息的群组成员用户 ID 数组。仅群组会话(channelType 为 GROUP)支持群定向消息,如果指定的用户不在群组中,该字段为空。非群定向消息时,该字段为空")  
    private String[] groupUserIds;
 
}