GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction class

Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.

Constructors

GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction({Input<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial>? dial, Input<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri>? openUrl, Input<String>? postbackData, Input<Map<String, dynamic>>? shareLocation, Input<String>? text})
Creates a new GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction. dial Suggested client side action: Dial a phone number openUrl Suggested client side action: Open a URI on device postbackData Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic. shareLocation Suggested client side action: Share user location text Text to display alongside the action.
const
GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction.fromMap(Map<String, dynamic> map)
factory

Properties

dial → Input<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial>?
Suggested client side action: Dial a phone number
final
hashCode → int
The hash code for this object.
no setterinherited
openUrl → Input<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri>?
Suggested client side action: Open a URI on device
final
postbackData → Input<String>?
Opaque payload that the Dialogflow receives in a user event when the user taps the suggested action. This data will be also forwarded to webhook to allow performing custom business logic.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shareLocation → Input<Map<String, dynamic>>?
Suggested client side action: Share user location
final
text → Input<String>?
Text to display alongside the action.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited