View Source GoogleApi.Chat.V1.Model.FormAction (google_api_chat v0.34.3)

A form action describes the behavior when the form is submitted. For example, you can invoke Apps Script 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 Chat app as part of the card click event. You can use the same method name for several elements that trigger a common behavior.
  • parameters (type: list(GoogleApi.Chat.V1.Model.ActionParameter.t), default: nil) - List of action parameters.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.FormAction{
  actionMethodName: String.t() | nil,
  parameters: [GoogleApi.Chat.V1.Model.ActionParameter.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.