View Source GoogleApi.Chat.V1.Model.GoogleAppsCardV1CardFixedFooter (google_api_chat v0.34.1)

A persistent (sticky) footer that that appears at the bottom of the card. Setting fixedFooter without specifying a primaryButton or a secondaryButton causes an error. For Chat apps, you can use fixed footers in dialogs, but not card messages. For an example in Google Chat apps, see Card footer. Google Workspace Add-ons and Chat apps:

Attributes

  • primaryButton (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Button.t, default: nil) - The primary button of the fixed footer. The button must be a text button with text and color set.
  • secondaryButton (type: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Button.t, default: nil) - The secondary button of the fixed footer. The button must be a text button with text and color set. If secondaryButton is set, you must also set primaryButton.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1CardFixedFooter{
  primaryButton: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Button.t() | nil,
  secondaryButton: GoogleApi.Chat.V1.Model.GoogleAppsCardV1Button.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.