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

A persistent (sticky) footer that that appears at the bottom of the card.

Setting `fixedFooter` without specifying a `primaryButton` or a
`secondaryButton` causes an error.
For Chat apps, you can use fixed footers in
[dialogs](https://developers.google.com/workspace/chat/dialogs), but not
[card
messages](https://developers.google.com/workspace/chat/create-messages#create).
For an example in Google Chat apps, see [Add a persistent
footer](https://developers.google.com/workspace/chat/design-components-card-dialog#add_a_persistent_footer).
[Google Workspace add-ons and Chat
apps](https://developers.google.com/workspace/extend):

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ primary_button` | `Google\Apps\Card\V1\Button` The primary button of the fixed footer. The button must be a text button with text and color set. |
| `↳ secondary_button` | `Google\Apps\Card\V1\Button` The secondary button of the fixed footer. The button must be a text button with text and color set. If `secondaryButton` is set, you must also set `primaryButton`. |

### getPrimaryButton

The primary button of the fixed footer. The button must be a text button
with text and color set.

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

### hasPrimaryButton

### clearPrimaryButton

### setPrimaryButton

The primary button of the fixed footer. The button must be a text button
with text and color set.

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

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

### getSecondaryButton

The secondary button of the fixed footer. The button must be a text
button with text and color set.

If `secondaryButton` is set, you must also set `primaryButton`.

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

### hasSecondaryButton

### clearSecondaryButton

### setSecondaryButton

The secondary button of the fixed footer. The button must be a text
button with text and color set.

If `secondaryButton` is set, you must also set `primaryButton`.

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

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