com.volcengine.model.im.GetConversationMessagesBody 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;
/**
* GetConversationMessagesBody
*/
@lombok.Data
public final class GetConversationMessagesBody {
/**
* 应用的唯一标志
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AppId")
private Integer appId;
/**
* 会话 ID
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ConversationShortId")
private Long conversationShortId;
/**
* 查询起始位置,即查询起始消息的 Index
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Cursor")
private Long cursor;
/**
* 查询条数
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Limit")
private Long limit;
/**
* 查询方向。
*
*
*
* - `0`:正向查询
*
* - `1`:反向查询
*
*
*
* 默认值为 `0`。值不合法时自动调整为默认值。
*
* 直播群只能取 `1`。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Reverse")
private Integer reverse;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy