小组级接收消息回调
开发中
POST
/message
请求参数
Body 参数application/json
data
object
必需
messageId
string
消息id
chatId
string
对话id(表示一个bot和一个客户)
avatar
string
客户或者群头像
roomTopic
string
群名
roomId
string
群聊的系统wxid
contactName
string
客户姓名
contactId
string
客户的系统wxid
payload
消息内容
type
enum<number>
消息的payload
枚举值:
012345678910111213151699991000010001
timestamp
string
消息时间戳
token
string
企业级token
botId
string
bot的账号id
contactType
enum<number>
客户的类型
枚举值:
0123
coworker
boolean
是否为内部员工
botWxid
string
托管账号对应成员的系统wxid
botWeixin
string
bot的企业微信userId
source
enum<number>
消息来源,具体来源信息参考下面的枚举定义
枚举值:
0134567
sendBy
string
消息发送者的秒回id,仅当消息为消息为托管账号发送的,且消息来源为小组级控制台手动发消息时有效
isSelf
boolean