GoogleApi.Chat.V1.Model.GoogleAppsCardV1Section (google_api_chat v0.30.1) 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, for example, float.
Attributes
-
collapsible
(type:boolean()
, default:nil
) - Indicates whether this section is collapsible. If a section is collapsible, the description must be given. -
header
(type:String.t
, default:nil
) - The header of the section. Formatted text is supported. -
uncollapsibleWidgetsCount
(type:integer()
, default:nil
) - The number of uncollapsible widgets. For example, when a section contains five widgets and thenumUncollapsibleWidget
is set to2
, the first two widgets are always shown and the last three are collapsed as default. ThenumUncollapsibleWidget
is taken into account only when collapsible is set totrue
. -
widgets
(type:list(GoogleApi.Chat.V1.Model.GoogleAppsCardV1Widget.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.GoogleAppsCardV1Section{ collapsible: boolean() | nil, header: String.t() | nil, uncollapsibleWidgetsCount: integer() | nil, widgets: [GoogleApi.Chat.V1.Model.GoogleAppsCardV1Widget.t()] | nil }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.