google_api_chat v0.13.0 GoogleApi.Chat.V1.Model.Card View Source

A card is a UI element that can contain UI widgets such as texts, images.

Attributes

  • cardActions (type: list(GoogleApi.Chat.V1.Model.CardAction.t), default: nil) - The actions of this card.
  • header (type: GoogleApi.Chat.V1.Model.CardHeader.t, default: nil) - The header of the card. A header usually contains a title and an image.
  • name (type: String.t, default: nil) - Name of the card.
  • sections (type: list(GoogleApi.Chat.V1.Model.Section.t), default: nil) - Sections are separated by a line divider.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Chat.V1.Model.Card{
  cardActions: [GoogleApi.Chat.V1.Model.CardAction.t()],
  header: GoogleApi.Chat.V1.Model.CardHeader.t(),
  name: String.t(),
  sections: [GoogleApi.Chat.V1.Model.Section.t()]
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.