View Source GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenuItem (google_api_chat v0.41.1)

An option that users can invoke in an overflow menu. Google Chat apps:

Attributes

  • disabled (type: boolean(), default: nil) - Whether the menu option is disabled. Defaults to false.
  • onClick (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t, default: nil) - Required. The action invoked when a menu option is selected. This OnClick cannot contain an OverflowMenu, any specified OverflowMenu is dropped and the menu item disabled.
  • startIcon (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Icon.t, default: nil) - The icon displayed in front of the text.
  • text (type: String.t, default: nil) - Required. The text that identifies or describes the item to users.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1OverflowMenuItem{
  disabled: boolean() | nil,
  onClick: GoogleApi.Chat.V1.Model.GoogleAppsCardV1OnClick.t() | nil,
  startIcon: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Icon.t() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.