0.31.0 (latest) 0.30.0 0.29.0 0.28.0 0.27.0 0.23.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.1 0.15.0 0.14.0 0.13.1 0.12.1 0.11.2 0.10.0 0.9.0 0.8.1 0.7.2 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Google Apps Chat V1 Client class NestedWidget.

A list of widgets that can be displayed in a containing layout, such
as a `CarouselCard`.

[Google Chat apps](https://developers.google.com/workspace/chat):

Generated from protobuf message `google.apps.card.v1.Card.NestedWidget`

## Namespace

Google \\ Apps \\ Card \\ V1 \\ Card

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ text_paragraph` | `Google\Apps\Card\V1\TextParagraph` A text paragraph widget. |
| `↳ button_list` | `Google\Apps\Card\V1\ButtonList` A button list widget. |
| `↳ image` | `Google\Apps\Card\V1\Image` An image widget. |

### getTextParagraph

A text paragraph widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\TextParagraph|null` |   |

### hasTextParagraph

### setTextParagraph

A text paragraph widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\TextParagraph` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getButtonList

A button list widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\ButtonList|null` |   |

### hasButtonList

### setButtonList

A button list widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\ButtonList` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getImage

An image widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\Image|null` |   |

### hasImage

### setImage

An image widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\Image` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getData

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |