google_api_chat v0.1.0 GoogleApi.Chat.V1.Model.Section View Source

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 is currently no need for layout properties (e.g. float).

Attributes

  • header (String.t): The header of the section, text formatted supported. Defaults to: null.
  • widgets ([WidgetMarkup]): A section must contain at least 1 widget. 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.Section{
  header: any(),
  widgets: [GoogleApi.Chat.V1.Model.WidgetMarkup.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.