The response message for a webhook call.
JSON representation |
---|
{ "fulfillmentResponse": { object ( |
Fields | |
---|---|
fulfillmentResponse |
The fulfillment response to send to the user. This field can be omitted by the webhook if it does not intend to send any response to the user. |
pageInfo |
Information about page status. This field can be omitted by the webhook if it does not intend to modify page status. |
sessionInfo |
Information about session status. This field can be omitted by the webhook if it does not intend to modify session status. |
payload |
Value to append directly to |
Union field transition . The target to transition to. This can be set optionally to indicate an immediate transition to a different page in the same host flow, or a different flow in the same agent. transition can be only one of the following: |
|
targetPage |
The target page to transition to. Format: |
targetFlow |
The target flow to transition to. Format: |
FulfillmentResponse
Represents a fulfillment response to the user.
JSON representation |
---|
{ "messages": [ { object ( |
Fields | |
---|---|
messages[] |
The list of rich message responses to present to the user. |
mergeBehavior |
Merge behavior for |