All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.model.im.CreateConversationBody Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.model.im;


import com.alibaba.fastjson.JSON;

/**
 * CreateConversationBody
 */
@lombok.Data
public final class CreateConversationBody  {

    /**
     * 

应用的唯一标志

*/ @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 = "ConversationCoreInfo") private CreateConversationBodyConversationCoreInfo conversationCoreInfo; /** *

群主 UserId

*/ @com.alibaba.fastjson.annotation.JSONField(name = "OwnerUserId") private Long ownerUserId; /** *

另一个成员的 UserId, 创建单聊必填

*/ @com.alibaba.fastjson.annotation.JSONField(name = "OtherUserId") private Long otherUserId; /** *

幂等id,如果创建时指定了此字段,并且数据库中存在此 id 对应的会话,则不会重复创建,并且接口返回的Exist字段为`true`。

*/ @com.alibaba.fastjson.annotation.JSONField(name = "IdempotentId") private String idempotentId; @Override public String toString() { return JSON.toJSONString(this); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy