Class: Google::Apps::Card::V1::TextParagraph

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

Overview

A paragraph of text that supports formatting. For an example in Google Chat apps, see Add a paragraph of formatted text. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace add-ons.

Google Workspace add-ons and Chat apps:

Defined Under Namespace

Modules: TextSyntax

Instance Attribute Summary collapse

Instance Attribute Details

#max_lines::Integer



844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
# File 'proto_docs/google/apps/card/v1/card.rb', line 844

class TextParagraph
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Syntax to use for formatting text.
  #
  # [Google Chat apps](https://developers.google.com/workspace/chat):
  module TextSyntax
    # The text is rendered as HTML if unspecified.
    TEXT_SYNTAX_UNSPECIFIED = 0

    # The text is rendered as HTML. This is the default value.
    HTML = 1

    # The text is rendered as Markdown.
    MARKDOWN = 2
  end
end

#text::String



844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
# File 'proto_docs/google/apps/card/v1/card.rb', line 844

class TextParagraph
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Syntax to use for formatting text.
  #
  # [Google Chat apps](https://developers.google.com/workspace/chat):
  module TextSyntax
    # The text is rendered as HTML if unspecified.
    TEXT_SYNTAX_UNSPECIFIED = 0

    # The text is rendered as HTML. This is the default value.
    HTML = 1

    # The text is rendered as Markdown.
    MARKDOWN = 2
  end
end

#text_syntax::Google::Apps::Card::V1::TextParagraph::TextSyntax



844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
# File 'proto_docs/google/apps/card/v1/card.rb', line 844

class TextParagraph
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Syntax to use for formatting text.
  #
  # [Google Chat apps](https://developers.google.com/workspace/chat):
  module TextSyntax
    # The text is rendered as HTML if unspecified.
    TEXT_SYNTAX_UNSPECIFIED = 0

    # The text is rendered as HTML. This is the default value.
    HTML = 1

    # The text is rendered as Markdown.
    MARKDOWN = 2
  end
end