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

Attributes

  • imageStyle (type: String.t, default: nil) - The image's type (for example, 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 takes up one line. If only the title is specified, it takes up both lines.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.CardHeader{
  imageStyle: String.t() | nil,
  imageUrl: String.t() | nil,
  subtitle: String.t() | nil,
  title: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.