google_api_chat v0.1.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 ([CardAction]): The actions of this card. Defaults to: null.
  • header (CardHeader): The header of the card. A header usually contains a title and an image. Defaults to: null.
  • name (String.t): Name of the card. Defaults to: null.
  • sections ([Section]): Sections are separated by a line divider. Defaults to: null.

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: any(),
  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.