com.volcengine.model.im.BatchModifyConversationParticipantBodyParticipantInfosItem 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;
/**
* BatchModifyConversationParticipantBodyParticipantInfosItem
*/
@lombok.Data
public final class BatchModifyConversationParticipantBodyParticipantInfosItem {
/**
* 进行修改的群成员的 UserId,UserId 必须大于 `0`。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ParticipantUserId")
private Long participantUserId;
/**
* 成员等级
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Level")
private Integer level;
/**
* 成员昵称
*/
@com.alibaba.fastjson.annotation.JSONField(name = "NickName")
private String nickName;
/**
* 成员身份,可取值为:`0`,`1`,`2`。
*
*
*
* - `0`:普通成员。
*
* - `1`:群主。
*
* - `2`:群管理员。
*
*
*
* 默认值为`0`,值不合法时自动调整为默认值。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Role")
private Integer role;
/**
* 禁言时间戳,表示禁言到何时,单位为秒。`0`表示未禁言。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "BlockTime")
private Long blockTime;
/**
* 成员扩展字段
*/
@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