Class WidgetMarkup.Types.FormAction
A form action describes the behavior when the form is submitted. For example, you can invoke Apps Script to handle the form.
Implements
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class WidgetMarkup.Types.FormAction : IMessage<WidgetMarkup.Types.FormAction>, IEquatable<WidgetMarkup.Types.FormAction>, IDeepCloneable<WidgetMarkup.Types.FormAction>, IBufferMessage, IMessage
Constructors
FormAction()
Declaration
public FormAction()
FormAction(FormAction)
Declaration
public FormAction(WidgetMarkup.Types.FormAction other)
Parameters
Type | Name | Description |
---|---|---|
WidgetMarkup.Types.FormAction | other |
Properties
ActionMethodName
The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the Chat app as part of the card click event. You can use the same method name for several elements that trigger a common behavior.
Declaration
public string ActionMethodName { get; set; }
Property Value
Type | Description |
---|---|
string |
Parameters
List of action parameters.
Declaration
public RepeatedField<WidgetMarkup.Types.FormAction.Types.ActionParameter> Parameters { get; }
Property Value
Type | Description |
---|---|
RepeatedField<WidgetMarkup.Types.FormAction.Types.ActionParameter> |