View Source GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenu (google_api_chat v0.41.5)

A widget that presents a pop-up menu with one or more actions that users can invoke. For example, showing non-primary actions in a card. You can use this widget when actions don't fit in the available space. To use, specify this widget in the OnClick action of widgets that support it. For example, in a Button. Google Chat apps:

Attributes

  • items (type: list(GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenuItem.t), default: nil) - Required. The list of menu options.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenu{
  items: [GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenuItem.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.