com.volcengine.model.im.BatchAddBlockParticipantsBody 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.Map;
/**
* BatchAddBlockParticipantsBody
*/
@lombok.Data
public final class BatchAddBlockParticipantsBody {
/**
* 应用的唯一标志
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AppId")
private Integer appId;
/**
* 会话 ID
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ConversationShortId")
private Long conversationShortId;
/**
* 操作行为
*
*
*
* - `0`:禁言。用户无法在直播群中发言。
*
* - `1`:拉黑。用户无法加入直播群。
*
*
*
* 默认值为 `0`
*/
@com.alibaba.fastjson.annotation.JSONField(name = "BlockAction")
private Integer blockAction;
/**
* `key` 为群成员 ID,类型:String,只能传userId,`value` 为禁言或者拉黑时长,类型:int,单位为秒。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ParticipantBlockInfos")
private Map participantBlockInfos;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy