Class: Google::Apps::Chat::V1::ContextualAddOnMarkup::Card::Section

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/chat/v1/contextual_addon.rb

Overview

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).

Instance Attribute Summary collapse

Instance Attribute Details

#header::String

Returns 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.

Returns:



94
95
96
97
# File 'proto_docs/google/chat/v1/contextual_addon.rb', line 94

class Section
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#widgets::Array<::Google::Apps::Chat::V1::WidgetMarkup>

Returns A section must contain at least one widget.

Returns:



94
95
96
97
# File 'proto_docs/google/chat/v1/contextual_addon.rb', line 94

class Section
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end