class Google::Apis::ChatV1::GoogleAppsCardV1TextParagraph

A paragraph of text that supports formatting. See [Text formatting](workspace/ add-ons/concepts/widgets#text_formatting“) for details.

Attributes

text[RW]

The text that's shown in the widget. Corresponds to the JSON property `text` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/chat_v1/classes.rb, line 1996
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/chat_v1/classes.rb, line 2001
def update!(**args)
  @text = args[:text] if args.key?(:text)
end