类 EMBatchRecallMessageResource
java.lang.Object
com.easemob.im.api.model.EMBatchRecallMessageResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-24T10:21:36.382435+08:00[Asia/Shanghai]",
comments="Generator version: 7.14.0")
public class EMBatchRecallMessageResource
extends Object
EMBatchRecallMessageResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMBatchRecallMessageResourceCreate an instance of EMBatchRecallMessageResource given an JSON string撤回消息的会话类型:chat、groupchat 或 chatroomgetFrom()消息撤回方的用户 IDgetMsgId()撤回的消息 ID消息撤回结果,成功为 yesgetTo()撤回消息的送达方inthashCode()voidsetChattype(String chattype) voidvoidvoidsetRecalled(String recalled) voidtoJson()Convert an instance of EMBatchRecallMessageResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMBatchRecallMessageResource
public EMBatchRecallMessageResource()
-
-
方法详细资料
-
msgId
-
getMsgId
撤回的消息 ID- 返回:
- msgId
-
setMsgId
-
recalled
-
getRecalled
消息撤回结果,成功为 yes- 返回:
- recalled
-
setRecalled
-
from
-
getFrom
消息撤回方的用户 ID- 返回:
- from
-
setFrom
-
to
-
getTo
撤回消息的送达方- 返回:
- to
-
setTo
-
chattype
-
getChattype
撤回消息的会话类型:chat、groupchat 或 chatroom- 返回:
- chattype
-
setChattype
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- 参数:
jsonElement- JSON Element- 抛出:
IOException- if the JSON Element is invalid with respect to EMBatchRecallMessageResource
-
fromJson
Create an instance of EMBatchRecallMessageResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMBatchRecallMessageResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMBatchRecallMessageResource
-
toJson
Convert an instance of EMBatchRecallMessageResource to an JSON string- 返回:
- JSON string
-