类 EMModifyTextOrCustomizeMessage
java.lang.Object
com.easemob.im.api.model.EMModifyTextOrCustomizeMessage
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-27T17:01:34.860826+08:00[Asia/Shanghai]")
public class EMModifyTextOrCustomizeMessage
extends Object
EMModifyTextOrCustomizeMessage
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanCreate an instance of EMModifyTextOrCustomizeMessage given an JSON string修改后的消息扩展信息与原有扩展信息是合并还是替换。修改后的消息扩展信息Get newMsggetType()消息类型: - txt:文本消息; - img:图片消息; - audio:语音消息; - video:视频消息; - file:文件消息; - loc:位置消息; - cmd:透传消息; - custom:自定义消息getUser()修改消息的用户inthashCode()isCombineExt(Boolean isCombineExt) newMsg(EMNewMessage newMsg) voidsetIsCombineExt(Boolean isCombineExt) voidvoidsetNewMsg(EMNewMessage newMsg) voidvoidtoJson()Convert an instance of EMModifyTextOrCustomizeMessage to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMModifyTextOrCustomizeMessage
public EMModifyTextOrCustomizeMessage()
-
-
方法详细资料
-
user
-
getUser
修改消息的用户- 返回:
- user
-
setUser
-
newMsg
-
getNewMsg
Get newMsg- 返回:
- newMsg
-
setNewMsg
-
type
-
getType
消息类型: - txt:文本消息; - img:图片消息; - audio:语音消息; - video:视频消息; - file:文件消息; - loc:位置消息; - cmd:透传消息; - custom:自定义消息- 返回:
- type
-
setType
-
newExt
-
getNewExt
修改后的消息扩展信息- 返回:
- newExt
-
setNewExt
-
isCombineExt
-
getIsCombineExt
修改后的消息扩展信息与原有扩展信息是合并还是替换。 - (默认)true:合并; - false:替换- 返回:
- isCombineExt
-
setIsCombineExt
-
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 EMModifyTextOrCustomizeMessage
-
fromJson
Create an instance of EMModifyTextOrCustomizeMessage given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMModifyTextOrCustomizeMessage
- 抛出:
IOException- if the JSON string is invalid with respect to EMModifyTextOrCustomizeMessage
-
toJson
Convert an instance of EMModifyTextOrCustomizeMessage to an JSON string- 返回:
- JSON string
-