GoogleApi.Chat.V1.Model.FormAction (google_api_chat v0.30.1) View Source
A form action describes the behavior when the form is submitted. For example, an Apps Script can be invoked to handle the form.
Attributes
-
actionMethodName
(type:String.t
, default:nil
) - The method name is used to identify which part of the form triggered the form submission. This information is echoed back to the bot as part of the card click event. The same method name can be used for several elements that trigger a common behavior if desired. -
parameters
(type:list(GoogleApi.Chat.V1.Model.ActionParameter.t)
, default:nil
) - List of action parameters.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Chat.V1.Model.FormAction{ actionMethodName: String.t() | nil, parameters: [GoogleApi.Chat.V1.Model.ActionParameter.t()] | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.