Share via


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

channelKind

Required. The message channel type

content

Optional. The message content

context

Optional. The received message context

interactiveContent

Optional. The received message interactive content

mediaContent

Optional. The received message media content

messageId

Optional. Message ID. Format is Guid as string.

messageType

Required. Whatsapp message type

reaction

Optional. The received message reaction content

Inherited Properties

error

The channel event error

from

The message sender

receivedTimeStamp

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

Optional. The received message context

context?: AcsMessageContext

Property Value

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

The message sender

from: string

Property Value

string

Inherited From AcsMessageEventData.from

receivedTimeStamp

The time message was received

receivedTimeStamp: Date

Property Value

Date

Inherited From AcsMessageEventData.receivedTimeStamp

to

The message recipient

to: string

Property Value

string

Inherited From AcsMessageEventData.to