google_api_chat v0.6.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
nil
. - widgets (list(GoogleApi.Chat.V1.Model.WidgetMarkup.t)): A section must contain at least 1 widget. Defaults to
nil
.
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()
View Source
t() :: %GoogleApi.Chat.V1.Model.Section{
header: String.t(),
widgets: [GoogleApi.Chat.V1.Model.WidgetMarkup.t()]
}
t() :: %GoogleApi.Chat.V1.Model.Section{ header: String.t(), widgets: [GoogleApi.Chat.V1.Model.WidgetMarkup.t()] }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.