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 CitedSource.

A reference to a source of information.

Generated from protobuf message `google.chat.v1.CitedSource`

## Namespace

Google \\ Apps \\ Chat \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ title` | `string` Required. The plaintext title of the `CitedSource`. Does not support markdown format. |
| `↳ uri` | `string` Required. The URI pointing to the resource referenced by this `CitedSource`. |
| `↳ snippet` | `CitedSource\Snippet` Optional. Snippet containing information directly from the source. |
| `↳ footer` | `CitedSource\Footer` Optional. Additional information to show alongside the snippet in the form of a footer. |

### getTitle

Required. The plaintext title of the `CitedSource`. Does not support
markdown format.

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

### setTitle

Required. The plaintext title of the `CitedSource`. Does not support
markdown format.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getUri

Required. The URI pointing to the resource referenced by this
`CitedSource`.

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

### setUri

Required. The URI pointing to the resource referenced by this
`CitedSource`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getSnippet

Optional. Snippet containing information directly from the source.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CitedSource\Snippet|null` |   |

### hasSnippet

### clearSnippet

### setSnippet

Optional. Snippet containing information directly from the source.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `CitedSource\Snippet` |

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

### getFooter

Optional. Additional information to show alongside the snippet in the form
of a footer.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CitedSource\Footer|null` |   |

### hasFooter

### clearFooter

### setFooter

Optional. Additional information to show alongside the snippet in the form
of a footer.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `CitedSource\Footer` |

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