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
-
header
(type:String.t
, default:nil
) - The header of the section. Formatted text is supported. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons. -
widgets
(type:list(GoogleApi.Chat.V1.Model.WidgetMarkup.t)
, default:nil
) - A section must contain at least one widget.
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
Unwrap a decoded JSON object into its complex fields.