Class Section
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).
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class Section : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Header
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.
Declaration
[JsonProperty("header")]
public virtual string Header { get; set; }
Property Value
Type | Description |
---|---|
string |
Widgets
A section must contain at least one widget.
Declaration
[JsonProperty("widgets")]
public virtual IList<WidgetMarkup> Widgets { get; set; }
Property Value
Type | Description |
---|---|
IList<WidgetMarkup> |