com.volcengine.model.im.UserBroadcastBody 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;
/**
* UserBroadcastBody
*/
@lombok.Data
public final class UserBroadcastBody {
/**
* 应用的唯一标志
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AppId")
private Integer appId;
/**
* 信箱,用做逻辑隔离。默认值为 0。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "InboxType")
private Integer inboxType;
/**
* 发送方
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Sender")
private Long sender;
/**
* 消息过期时间,单位为秒,范围为[1,604800]
*/
@com.alibaba.fastjson.annotation.JSONField(name = "MsgTTL")
private Long msgTTL;
/**
* 消息类型。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "MsgType")
private Integer msgType;
/**
* 消息内容。关于消息类型和消息内容,参看 [消息相关](https://www.volcengine.com/docs/6348/372181)
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Content")
private String content;
/**
* 筛选用户时,Tag 匹配关系。
*
* 0:或
*
* 1:且
*
* 默认值为 0。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "TagOp")
private Integer tagOp;
/**
* 筛选标签。不填表示全员广播。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Tags")
private List tags;
/**
* 消息的扩展字段。`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