WebhookResponse

The response message for a webhook call.

JSON representation
{
  "fulfillmentText": string,
  "fulfillmentMessages": [
    {
      object(Message)
    }
  ],
  "source": string,
  "payload": {
    object
  },
  "outputContexts": [
    {
      object(Context)
    }
  ],
  "followupEventInput": {
    object(EventInput)
  },
}
Fields
fulfillmentText

string

Optional. The text to be shown on the screen. This value is passed directly to QueryResult.fulfillment_text.

fulfillmentMessages[]

object(Message)

Optional. The collection of rich messages to present to the user. This value is passed directly to QueryResult.fulfillment_messages.

source

string

Optional. This value is passed directly to QueryResult.webhook_source.

payload

object (Struct format)

Optional. This value is passed directly to QueryResult.webhook_payload.

outputContexts[]

object(Context)

Optional. The collection of output contexts. This value is passed directly to QueryResult.output_contexts.

followupEventInput

object(EventInput)

Optional. Makes the platform immediately invoke another sessions.detectIntent call internally with the specified event as input.