AcsMessageReceivedEventData interface
Microsoft.Communication.AdvancedMessageReceived 事件的 EventGridEvent 的数据属性的架构。
属性
| button | 收到的消息按钮内容 |
| channel |
收到的消息通道类型 |
| content | 收到的消息内容 |
| context | 收到的消息上下文 |
| interactive |
收到的消息交互式内容 |
| media |
收到的消息媒体内容 |
| message |
消息 ID。 格式为 Guid 作为字符串。 |
| message |
WhatsApp 消息类型 |
| reaction | 收到的消息反应内容 |
继承属性
| error | 通道事件错误 |
| from | 邮件发件人 |
| received |
收到消息的时间 |
| to | 邮件收件人 |
属性详细信息
button
channelKind
收到的消息通道类型
channelKind?: string
属性值
string
content
收到的消息内容
content?: string
属性值
string
context
interactiveContent
mediaContent
messageId
消息 ID。 格式为 Guid 作为字符串。
messageId?: string
属性值
string
messageType
WhatsApp 消息类型
messageType: string
属性值
string
reaction
继承属性详细信息
error
通道事件错误
error?: AcsMessageChannelEventError