AcsMessageReceivedEventData interface
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.AdvancedMessageReceived event.
- Extends
Properties
| button | Optional. The received message button content |
| channel |
Required. The message channel type |
| content | Optional. The message content |
| context | Optional. The received message context |
| interactive |
Optional. The received message interactive content |
| media |
Optional. The received message media content |
| message |
Optional. Message ID. Format is Guid as string. |
| message |
Required. Whatsapp message type |
| reaction | Optional. The received message reaction content |
Inherited Properties
| error | The channel event error |
| from | The message sender |
| received |
The time message was received |
| to | The message recipient |
Property Details
button
Optional. The received message button content
button?: AcsMessageButtonContent
Property Value
channelKind
Required. The message channel type
channelKind: string
Property Value
string
content
Optional. The message content
content?: string
Property Value
string
context
interactiveContent
Optional. The received message interactive content
interactiveContent?: AcsMessageInteractiveContent
Property Value
mediaContent
Optional. The received message media content
mediaContent?: AcsMessageMediaContent
Property Value
messageId
Optional. Message ID. Format is Guid as string.
messageId?: string
Property Value
string
messageType
Required. Whatsapp message type
messageType: string
Property Value
string
reaction
Optional. The received message reaction content
reaction?: AcsMessageReactionContent
Property Value
Inherited Property Details
error
The channel event error
error?: AcsMessageChannelEventError
Property Value
Inherited From AcsMessageEventData.error
from
receivedTimeStamp
The time message was received
receivedTimeStamp: Date
Property Value
Date
Inherited From AcsMessageEventData.receivedTimeStamp