getPanelAgentCurrentChatEmotion(params: GetPanelAgentCurrentChatEmotionParams)
版本要求:
@tuya-miniapp/cloud-api≥1.0.6
描述
获取当前聊天心情。
参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| 是 | 请求体 |
返回值
类型:Promise<GetPanelAgentCurrentChatEmotionResult>
GetPanelAgentCurrentChatEmotionResult(字段含义见类型定义与 minituya 返回参数)
引用对象
type
GetPanelAgentCurrentChatEmotionResult| 属性 | 类型 | 描述 |
|---|---|---|
emotionOpen | boolean | 是否开启了心情 |
emotion | string | 心情 |
text | string | 文本 |
url | string | 图片链接 |
gmtCreate | number | 创建时间 |
gmtModified | number | 修改时间 |