com.volcengine.model.im.BatchSendMessageBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.model.im;
import com.alibaba.fastjson.JSON;
import java.util.List;
import java.util.Map;
/**
* BatchSendMessageBody
*/
@lombok.Data
public final class BatchSendMessageBody {
/**
* 应用的唯一标志
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AppId")
private Integer appId;
/**
* 消息发送人 UserId
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Sender")
private Long sender;
/**
* 消息接收人 UserId 列表
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Receiver")
private List receiver;
/**
* 信箱,用做逻辑隔离 默认值为 `0`
*/
@com.alibaba.fastjson.annotation.JSONField(name = "InboxType")
private Integer inboxType;
/**
* 消息类型
*/
@com.alibaba.fastjson.annotation.JSONField(name = "MsgType")
private Integer msgType;
/**
* 消息内容。当你给客户端发消息时,Content 内容需符合客户端格式,详细信息请参看消息格式
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Content")
private String content;
/**
* 消息的扩展字段,key 的数据类型为 String,value 的数据类型为 String
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Ext")
private Map ext;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy