Google Apps Chat V1 Client - Class TextParagraph (0.3.0)

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

A paragraph of text. Formatted text supported. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons.

Generated from protobuf message google.chat.v1.WidgetMarkup.TextParagraph

Namespace

Google \ Apps \ Chat \ V1 \ WidgetMarkup

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ text string

getText

Generated from protobuf field string text = 1;

Returns
Type Description
string

setText

Generated from protobuf field string text = 1;

Parameter
Name Description
var string
Returns
Type Description
$this