GoogleApi.Chat.V1.Model.Section (google_api_chat v0.27.0) 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
Specs
t() :: %GoogleApi.Chat.V1.Model.Section{
header: String.t() | nil,
widgets: [GoogleApi.Chat.V1.Model.WidgetMarkup.t()] | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.