GoogleApi.Chat.V1.Model.GoogleAppsCardV1CardHeader (google_api_chat v0.30.0) View Source

Attributes

  • imageAltText (type: String.t, default: nil) - The alternative text of this image which is used for accessibility.
  • imageType (type: String.t, default: nil) - The image's type.
  • imageUrl (type: String.t, default: nil) - The URL of the image in the card header.
  • subtitle (type: String.t, default: nil) - The subtitle of the card header.
  • title (type: String.t, default: nil) - The title of the card header. The title must be specified. The header has a fixed height: if both a title and subtitle are specified, each takes up one line. If only the title is specified, it takes up both lines.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Chat.V1.Model.GoogleAppsCardV1CardHeader{
  imageAltText: String.t() | nil,
  imageType: String.t() | nil,
  imageUrl: String.t() | nil,
  subtitle: String.t() | nil,
  title: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.