public sealed class Intent.Types.Message.Types.RbmSuggestedAction : IMessage<Intent.Types.Message.Types.RbmSuggestedAction>, IEquatable<Intent.Types.Message.Types.RbmSuggestedAction>, IDeepCloneable<Intent.Types.Message.Types.RbmSuggestedAction>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class Intent.Types.Message.Types.RbmSuggestedAction.
Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.
Implements
IMessageIntentTypesMessageTypesRbmSuggestedAction, IEquatableIntentTypesMessageTypesRbmSuggestedAction, IDeepCloneableIntentTypesMessageTypesRbmSuggestedAction, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Beta1Assembly
Google.Cloud.Dialogflow.V2Beta1.dll
Constructors
RbmSuggestedAction()
public RbmSuggestedAction()
RbmSuggestedAction(RbmSuggestedAction)
public RbmSuggestedAction(Intent.Types.Message.Types.RbmSuggestedAction other)
Parameter | |
---|---|
Name | Description |
other |
IntentTypesMessageTypesRbmSuggestedAction |
Properties
ActionCase
public Intent.Types.Message.Types.RbmSuggestedAction.ActionOneofCase ActionCase { get; }
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesRbmSuggestedActionActionOneofCase |
Dial
public Intent.Types.Message.Types.RbmSuggestedAction.Types.RbmSuggestedActionDial Dial { get; set; }
Suggested client side action: Dial a phone number
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesRbmSuggestedActionTypesRbmSuggestedActionDial |
OpenUrl
public Intent.Types.Message.Types.RbmSuggestedAction.Types.RbmSuggestedActionOpenUri OpenUrl { get; set; }
Suggested client side action: Open a URI on device
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesRbmSuggestedActionTypesRbmSuggestedActionOpenUri |
PostbackData
public string PostbackData { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
ShareLocation
public Intent.Types.Message.Types.RbmSuggestedAction.Types.RbmSuggestedActionShareLocation ShareLocation { get; set; }
Suggested client side action: Share user location
Property Value | |
---|---|
Type | Description |
IntentTypesMessageTypesRbmSuggestedActionTypesRbmSuggestedActionShareLocation |
Text
public string Text { get; set; }
Text to display alongside the action.
Property Value | |
---|---|
Type | Description |
string |