google_api_chat v0.9.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
(type:String.t
, default:nil
) - The header of the section, text formatted supported.widgets
(type:list(GoogleApi.Chat.V1.Model.WidgetMarkup.t)
, default:nil
) - A section must contain at least 1 widget.
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 Sourcet() :: %GoogleApi.Chat.V1.Model.Section{ header: String.t(), widgets: [GoogleApi.Chat.V1.Model.WidgetMarkup.t()] }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.