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

Attributes

  • imageStyle (type: String.t, default: nil) - The image's type (e.g. square border or circular border).
  • 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 must be specified. The header has a fixed height: if both a title and subtitle is specified, each will take up 1 line. If only the title is specified, it will take 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.CardHeader{
  imageStyle: 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.