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

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 Add a persistent 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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.