ChannelMessageTriggerContext interface
Trigger context for Teams channel message triggers. Provides messages as a named alias for items.
- Extends
Properties
| messages | The channel messages delivered by the trigger. Alias for |
Inherited Properties
| items | The items delivered by the connector trigger (convenience accessor for payload.body.value). |
| payload | The normalized trigger callback envelope, combining all items in a polling batch. |
| raw |
The original parsed payload object or polling envelope array (before envelope extraction). Use this when you need to persist the full trigger data (e.g., to blob storage). |
Inherited Methods
| toJSON() | Serialises the full trigger payload to a JSON string. Convenience method for output bindings. |
Property Details
messages
The channel messages delivered by the trigger. Alias for items.
messages: ChatMessage[]
Property Value
ChatMessage[]
Inherited Property Details
items
The items delivered by the connector trigger (convenience accessor for payload.body.value).
items: ChatMessage[]
Property Value
ChatMessage[]
Inherited From ConnectorTriggerContext.items
payload
The normalized trigger callback envelope, combining all items in a polling batch.
payload: TriggerCallbackPayload<ChatMessage>
Property Value
TriggerCallbackPayload<ChatMessage>
Inherited From ConnectorTriggerContext.payload
rawPayload
The original parsed payload object or polling envelope array (before envelope extraction). Use this when you need to persist the full trigger data (e.g., to blob storage).
rawPayload: unknown
Property Value
unknown
Inherited From ConnectorTriggerContext.rawPayload
Inherited Method Details
toJSON()
Serialises the full trigger payload to a JSON string. Convenience method for output bindings.
function toJSON(): string
Returns
string
Inherited From ConnectorTriggerContext.toJSON