Class ContextualAddOnMarkup.Types.Card.Types.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
Namespace: Google.Apps.Chat.V1
Assembly: Google.Apps.Chat.V1.dll
Syntax
public sealed class ContextualAddOnMarkup.Types.Card.Types.Section : IMessage<ContextualAddOnMarkup.Types.Card.Types.Section>, IEquatable<ContextualAddOnMarkup.Types.Card.Types.Section>, IDeepCloneable<ContextualAddOnMarkup.Types.Card.Types.Section>, IBufferMessage, IMessage
Constructors
Section()
Declaration
public Section()
Section(Section)
Declaration
public Section(ContextualAddOnMarkup.Types.Card.Types.Section other)
Parameters
Type | Name | Description |
---|---|---|
ContextualAddOnMarkup.Types.Card.Types.Section | other |
Properties
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
public string Header { get; set; }
Property Value
Type | Description |
---|---|
string |
Widgets
A section must contain at least one widget.
Declaration
public RepeatedField<WidgetMarkup> Widgets { get; }
Property Value
Type | Description |
---|---|
RepeatedField<WidgetMarkup> |