|
NIMSDK-AOS
9.20.15
|
NIM消息实体数据结构。 第三方APP不要调用设置类接口,调用之后不会被持久化 更多...
Public 成员函数 | |
| String | getSessionId () |
| 获取聊天对象的Id(好友帐号,群ID等)。 更多... | |
| SessionTypeEnum | getSessionType () |
| 获取会话类型。 更多... | |
| MessageRobotInfo | getRobotInfo () |
| 获取消息的机器人信息 更多... | |
| void | setRobotInfo (MessageRobotInfo robotInfo) |
| 设置消息的机器人信息 更多... | |
| Serializable | getRealMsgObj () |
| 获取真实消息对象 如果是圈组消息,可强转为QChatMessage对象; 如果是其他消息,可强转为IMMessage对象,即当前对象本身。 更多... | |
| NIMMessageAIConfig | getAIConfig () |
| 获取AI 数字人相关信息 更多... | |
| void | setAIConfig (NIMMessageAIConfig aiConfig) |
| 设置AI 数字人相关信息 更多... | |
| NIMMessageStreamConfig | getStreamConfig () |
| 获取流式消息配置 更多... | |
| void | setStreamConfig (NIMMessageStreamConfig streamConfig) |
| 设置流式消息配置 更多... | |
| int | getAIMessageErrorCode () |
| 获取AI数字人消息错误码 更多... | |
| String | getReceiverId () |
| 消息接收者id 更多... | |
| long | getModifyTime () |
| 获取消息更新时间 更多... | |
| String | getModifyAccountId () |
| 获取消息更新者账号 更多... | |
NIM消息实体数据结构。 第三方APP不要调用设置类接口,调用之后不会被持久化
在文件 IMMessage.java 第 10 行定义.
| NIMMessageAIConfig com.netease.nimlib.sdk.msg.model.IMMessage.getAIConfig | ( | ) |
获取AI 数字人相关信息
| int com.netease.nimlib.sdk.msg.model.IMMessage.getAIMessageErrorCode | ( | ) |
获取AI数字人消息错误码
| String com.netease.nimlib.sdk.msg.model.IMMessage.getModifyAccountId | ( | ) |
获取消息更新者账号
| long com.netease.nimlib.sdk.msg.model.IMMessage.getModifyTime | ( | ) |
获取消息更新时间
| Serializable com.netease.nimlib.sdk.msg.model.IMMessage.getRealMsgObj | ( | ) |
获取真实消息对象 如果是圈组消息,可强转为QChatMessage对象; 如果是其他消息,可强转为IMMessage对象,即当前对象本身。
| String com.netease.nimlib.sdk.msg.model.IMMessage.getReceiverId | ( | ) |
消息接收者id
| MessageRobotInfo com.netease.nimlib.sdk.msg.model.IMMessage.getRobotInfo | ( | ) |
获取消息的机器人信息
| String com.netease.nimlib.sdk.msg.model.IMMessage.getSessionId | ( | ) |
获取聊天对象的Id(好友帐号,群ID等)。
| SessionTypeEnum com.netease.nimlib.sdk.msg.model.IMMessage.getSessionType | ( | ) |
获取会话类型。
| NIMMessageStreamConfig com.netease.nimlib.sdk.msg.model.IMMessage.getStreamConfig | ( | ) |
获取流式消息配置
| void com.netease.nimlib.sdk.msg.model.IMMessage.setAIConfig | ( | NIMMessageAIConfig | aiConfig | ) |
设置AI 数字人相关信息
| aiConfig | AI 数字人相关信息 |
| void com.netease.nimlib.sdk.msg.model.IMMessage.setRobotInfo | ( | MessageRobotInfo | robotInfo | ) |
设置消息的机器人信息
| robotInfo | 消息的机器人信息 |
| void com.netease.nimlib.sdk.msg.model.IMMessage.setStreamConfig | ( | NIMMessageStreamConfig | streamConfig | ) |
设置流式消息配置
| streamConfig | 流式消息配置 |
1.8.11