Class FulfillmentResponse (1.22.0)

FulfillmentResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a fulfillment response to the user.

Attributes

NameDescription
messages MutableSequence[google.cloud.dialogflowcx_v3.types.ResponseMessage]
The list of rich message responses to present to the user.
merge_behavior google.cloud.dialogflowcx_v3.types.WebhookResponse.FulfillmentResponse.MergeBehavior
Merge behavior for messages.

Classes

MergeBehavior

MergeBehavior(value)

Defines merge behavior for messages.

Values: MERGE_BEHAVIOR_UNSPECIFIED (0): Not specified. APPEND will be used. APPEND (1): messages will be appended to the list of messages waiting to be sent to the user. REPLACE (2): messages will replace the list of messages waiting to be sent to the user.