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

A section contains a collection of widgets that are rendered (vertically) in the order that they are specified. Across all platforms, cards have a narrow fixed width, so there's currently no need for layout properties (for example, float).

Attributes

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Chat.V1.Model.Section{
  header: String.t() | nil,
  widgets: [GoogleApi.Chat.V1.Model.WidgetMarkup.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.