Google Apps Chat V1 Client - Class TextParagraph (0.1.4)

Reference documentation and code samples for the Google Apps Chat V1 Client class TextParagraph.

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:

Generated from protobuf message google.apps.card.v1.TextParagraph

Namespace

Google \ Apps \ Card \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ text string

The text that's shown in the widget.

getText

The text that's shown in the widget.

Returns
Type Description
string

setText

The text that's shown in the widget.

Parameter
Name Description
var string
Returns
Type Description
$this